0 Replies Latest reply: Sep 19, 2013 5:59 AM by Tom Jenkinson RSS

Moving to JDK7

Tom Jenkinson Master

The dev team are considering moving to JDK7. Currently we support building on JDK6 but there are a number or reasons we would like to baseline on 7:

 

1. We would like to take advantage of the broadest language feature set we can

2. Java 6 unsupported: http://www.oracle.com/technetwork/java/eol-135779.html

3. One of our main deployment configuration is WildFly which has been for a while now: https://github.com/jboss/jboss-parent-pom/blob/86bff326310a192ef657d893fa8e96ebd33e1ae4/pom.xml#L129

3. We have an issue that only affect compilation on JDK6: https://issues.jboss.org/browse/JBTM-1931

 

If we agree to update to JDK7 we can also look at inheriting from the same jboss-parent artifact as WildFly: https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml

 

This should add some consistency in build between WildFly and Narayana.

 

If this will cause you issues, please let me know (and bear in mind the workaround for JBTM-1931 if you are building from source)

 

Tom