[
https://issues.apache.org/jira/browse/HBASE-21808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755737#comment-16755737
]
Duo Zhang commented on HBASE-21808:
-----------------------------------
So the goal here is just for compiling, not for running with JDK11?
I've tried this before and then I notice that I need to wait for hadoop to be
compatible with JDK11 so I gave up... Lots of the problems are that we use lots
of JavaEE related annotations and classes, which are removed in JDK11. And
maybe the Unsafe stuffs are also a problem, maybe we could use the
PlatformDependent class in our shaded netty...
> Ensure we can build with JDK11 targetting JDK8
> ----------------------------------------------
>
> Key: HBASE-21808
> URL: https://issues.apache.org/jira/browse/HBASE-21808
> Project: HBase
> Issue Type: Improvement
> Components: build, community, java
> Affects Versions: 3.0.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Major
>
> When folks "install a JDK" wether they get JDK11 now will depend on the
> platform (e.g. from homebrew you will get jdk11). For new contributors this
> results in confusing errors on first run.
> Make it so that a non-release build using JDK11 and using our default
> compiler source/target versions of JDK8 can complete.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)