Community
Participate
Working Groups
Right now it's not officially supported (either by the JDT compiler or SUN) to compile 1.5 code for 1.4 use (javac -source 1.5 -target jsr14) However it works when tampering with property files. There are multiple reasons to NOT support this: - code might have covariance - code might have annotations - code might have enums Scenario when it will work: - code uses generics - code uses new "for" loop Depends on case to case: - autobxing / unboxing However most of these futures won't be used regulary. From my experience (which doesn't mean much :-) generics and the new "for" will be the most used new features. A lot of people have legacy support for older platforms, but would like to clear up their code. This is not possible at the moment in a supported way, because there is no official mode for compiling source=1.5 with class=1.4. I would appreciate such a feature, which moves the complexity from the user/programmer into the compiler and would save many hours.
see bug 79392 for initial discussion about this issue...
defer
Now that 3.1 is out of the door would you consider this as a feature for 3.2?
Should this not be reopened for 3.3?
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.