Attila Doroszlai created HDDS-7633:
--------------------------------------

             Summary: Compile error with Java 11: package 
com.sun.jmx.mbeanserver is not visible
                 Key: HDDS-7633
                 URL: https://issues.apache.org/jira/browse/HDDS-7633
             Project: Apache Ozone
          Issue Type: Bug
          Components: build
            Reporter: Nandakumar
            Assignee: Attila Doroszlai


CI compiles Ozone using JDK 11, but it still targets Java 8.  This catches some 
Java 11-related issues, but not all.

{code:title=mvn -Djavac.version=11 -DskipTests clean package}
...
[ERROR] 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/HddsDatanodeService.java:[74,19]
 package com.sun.jmx.mbeanserver is not visible
[ERROR]   (package com.sun.jmx.mbeanserver is declared in module 
java.management, which does not export it)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to