Bug 166617
| Summary: | Compiler places bootclasspath before classpath | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Anthony Green <green> |
| Component: | eclipse | Assignee: | Thomas Fitzsimmons <fitzsim> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | gbenson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-03 20:51:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 150222 | ||
|
Description
Anthony Green
2005-08-23 21:18:32 UTC
This is an upstream bug. Can you file it there? You'll need to create an account in eclipse.org's bugzilla, but once you've done that, file it here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT&version=3.1&component=Core I've filed this bug upstream, including a patch for 3.1.1. https://bugs.eclipse.org/bugs/show_bug.cgi?id=113458 It would be good to get this patch, or something like it, in FC5. I've hit at least a couple of packages that won't build without it. I have patches in axis and xalan-j2 which are probably workarounds for this. (In reply to comment #3) > I have patches in axis and xalan-j2 which are probably workarounds for this. Thanks. Isn't any package that puts xml-commons-apis on the classpath basically wrong, since that won't override what's in libgcj (being on the bootclasspath)? xml-commons-apis should go in a endorsed dir, no? Does ecj put endorsed dir jars in the right place on the classpath? (In reply to comment #2) > I've filed this bug upstream, including a patch for 3.1.1. > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=113458 I've closed this bug upstream. It seems that the problem is with jpackage's packaging, not ecj. xml-commons-apis cannot be placed in the endorsed directory because doing so makes it impossible to use the XML parser implementation in libgcj. See also bug 152255. So what are we going to do? (In reply to comment #8) > So what are we going to do? Revert libgcj back to DOM2 from DOM3? The 1.4 JDK used DOM2. 1.5 uses DOM3. The DOM3 we're using in libgcj is the source of these problems. One idea is to modify our ecj to pull in either DOM2 or DOM3 based on its -source argument. Any news here? This is not a bug. ejc's bootclasspath and classpath ordering match Sun javac's 1.5 ordering. |