[ https://issues.apache.org/jira/browse/DERBY-6856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136684#comment-15136684 ]
Knut Anders Hatlen commented on DERBY-6856: ------------------------------------------- Hopefully, Ant's javac task gets support for the new -release option before or around the time JDK 9 gets out. If not, I suppose we can always add {{<compilerarg line="-release 8" compiler="javac1.9"/>}} to the javac targets in our build scripts. (The "javac1.9" compiler alias is only recognized by Ant 1.9.5 or newer.) I agree that reviving PropertySetter is not a good idea now that the JDK is about to add a new and better mechanism for cross-compilation. > Make it possible to build Derby using JDK 9 > ------------------------------------------- > > Key: DERBY-6856 > URL: https://issues.apache.org/jira/browse/DERBY-6856 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.12.1.1 > Reporter: Rick Hillegas > Attachments: derby-6856-01-ab-addShardingKey.diff, > derby-6856-01-ac-cleanup.diff > > > Derby can't be built with JDK 9. Java 9 introduces new JDBC classes like > java.sql.ShardingKey and methods which refer to these new classes. > In addition, project Jigsaw has created a new way to name classes (see > http://openjdk.java.net/jeps/220). This breaks the PropertySetter build tool > which we use so that old JVMs can compile Derby and so that Derby can be > compiled to run on old JVMs. > It is likely that we will need to leave this issue open throughout the > development cycle of Java 9. -- This message was sent by Atlassian JIRA (v6.3.4#6332)