You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/01/03 13:57:00 UTC
[jira] [Updated] (HDDS-7633) Compile error with Java 11: package com.sun.jmx.mbeanserver is not visible
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org