[
https://issues.apache.org/jira/browse/THRIFT-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504682#comment-16504682
]
James E. King III commented on THRIFT-4550:
-------------------------------------------
In the Ubuntu Bionic docker image I had to do the following to allow things to
build (for Java):
{noformat}
update-alternatives --config java <<< '2' && java -version
{noformat}
The default Java is 10.0.1 and the annotation stuff is still busted in Thrift.
> 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)