[ 
https://issues.apache.org/jira/browse/HBASE-21808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-21808:
--------------------------------
    Status: Patch Available  (was: In Progress)

v0

- adds jdk profiles to add J2EE dependencies that were removed in JDK11
- makes the spotbugs stuff 1.8+ instead of 1.8 exactly
- can successfully pass {{mvn -DskipTests --batch-mode -e install 
assembly:single}}
- resultant java class files report they are JDK1.8 compatible

This would at least allow new contributors for *most* patches to get a build. 
Haven't tried any tests; I don't think anything with e.g. minicluster would go 
well.

The binary tarball that results from this assembly fails to launch a standalone 
cluster (running with JDK8). Haven't finished figuring out why yet. It's all 
problems for netty so I suspect something has messed up the lib directory.

> 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
>         Attachments: HBASE-21808.0.patch
>
>
> 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)

Reply via email to