make source/target JVM versions configurable

Bug #510819 reported by Leo Polovets
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Unassigned
1.1
Fix Committed
Undecided
Unassigned

Bug Description

Currently, Play compiles code to JDK 1.5. This means that Java 6 features like @Override for interface method implementations cannot be used, nor can libraries that use these features be used.

If the source and target flags for javac could be configured that would be very helpful. I am not familiar with the internals or design philosophy of Play's implementation, but a command line option for 'play run/start' seems like a decent place for this feature.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.