Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tigerstripe-dev] Java5 vs java6

Hi all,

Some plugins (base and diagrams) had some requirements set up in the plugin.xml file to require a JavaSE-6 runtime although we don't use any of the Java6 features. The consequence of that was that we would "artificially" enforce the use of Java6 when Java5 was sufficient.

I've removed this artificial limitation (See Bug 223698) and changed the compiler levels (source/target) to be 1.5.

This means that a "cvs update" on your local copy will pick up a bunch of changes (mainly to remove the un-wanted @Override that should only be there in Java5 when actually override a method defined in a parent class, whereas Java6 also accepts @Override on methods defined in implemented classes).

Finally, please make sure to set your local Compiler level (Preferences->Java->Compiler in Eclipse) to be 5.0. Or else, you may introduce Java6 constructs in the codebase that wouldn't work during the build.

Cheers,
Eric


Back to the top