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

Attila Doroszlai updated HDDS-7633:
-----------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> 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