[
https://issues.apache.org/jira/browse/THRIFT-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757387#comment-16757387
]
David Jung commented on THRIFT-4550:
------------------------------------
For those of us not well versed in Java and Java build systems, who just need
to build it for Java 9+ (OpenJDK10 in my case), is there a work-around in terms
of editing some build configuration (Gradle?) to add the missing modules for
javax.annotations?
Q: If a solution for build is to use Java 8, will the resulting jar libraries
run as-is on Java 9+ or cause runtime missing class errors?
> 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)