[ https://issues.apache.org/jira/browse/THRIFT-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757615#comment-16757615 ]
James E. King III commented on THRIFT-4550: ------------------------------------------- The gradle build for java sets sourceCompatibility and targetCompatibility to 1.8 so the compiled bytecode should be compatible however I think it would be safest on the 0.13.0 release to put openjdk-8 into the build environment and build the project with jdk 8 instead of jdk 11, but I'm open to suggestions. We already rest jdk 8 against the Ubuntu Xenial build, so now we have the same code working on JDK8 and JDK11 in our CI environment (when this issue is resolved). > Properly support Java 9 > ----------------------- > > Key: THRIFT-4550 > URL: https://issues.apache.org/jira/browse/THRIFT-4550 > Project: Thrift > Issue Type: Story > Components: Java - Compiler > Reporter: James E. King III > Priority: Major > > Some things like "javax.annotations" are no longer accessible in Java 9 > unless you jump through hoops and they have been deprecated and will be > removed in a future release. > The default java in Ubuntu Bionic appears to be Java 9, but 8 is available, > so I will make the docker file use that for now. > We use annotations and the "js" library "make check" fails to build when jdk9 > is in use. > See this page for more details: > [https://blog.codefx.org/java/java-9-migration-guide/] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)