[ 
https://issues.apache.org/jira/browse/HBASE-21808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755700#comment-16755700
 ] 

Sean Busbey commented on HBASE-21808:
-------------------------------------

another example for the search engines:

{code}
[busbey@busbey-centos76 hbase]$ mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T11:41:47-07:00)
Maven home: /usr/local/share/applications/apache-maven-3.6.0
Java version: 11.0.1, vendor: Oracle Corporation, runtime: 
/usr/lib/jvm/java-11-openjdk-11.0.1.13-3.el7_6.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-957.el7.x86_64", arch: "amd64", family: 
"unix"
[busbey@busbey-centos76 hbase]$ mvn -DskipTests --batch-mode install
[INFO] Scanning for projects...
...
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/busbey/projects/hbase/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java:[39,25]
 package javax.xml.ws.http does not exist
[ERROR] 
/home/busbey/projects/hbase/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java:[204,17]
 cannot find symbol
  symbol:   class HTTPException
  location: class org.apache.hadoop.hbase.RESTApiClusterManager
[ERROR] 
/home/busbey/projects/hbase/hbase-it/src/test/java/org/apache/hadoop/hbase/RESTApiClusterManager.java:[247,17]
 cannot find symbol
  symbol:   class HTTPException
  location: class org.apache.hadoop.hbase.RESTApiClusterManager
[INFO] 3 errors 
...
{code}

> 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)

Reply via email to