Summary: | [1.5] Wrong bytecode generation optimization if target is JDK 1.4 and source is JDK 1.5 | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Denis Mukhin <denis_mukhin> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Denis Mukhin
2004-08-25 10:31:12 EDT
I think this bug affects all CodeStream revisions (incl. latest 3.1 builds). Your settings are illegal. This is now rejected in latest 3.1 builds. It doesn't make sense to set the source compatibility to 1.5 and the generated class files compatibility to 1.4. The compiler is setting the generated class files compatibility to 1.5 if the source compatibility is 1.5. I fixed the target level to be used in the CodeStream instead of the source level. This is what it was supposed to be, but we won't allow this setting to be valid. source compatibility 1.5 => generated class files compatibility 1.5. |