[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (attach-javadoc) on project jol-core: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - /home/shade/projects/jol/jol-core/src/main/java/org/openjdk/jol/vm/sa/ServiceabilityAgentSupport.java:43: error: package sun.management is not visible
[ERROR] import sun.management.VMManagement;
[ERROR] ^
[ERROR] (package sun.management is declared in module java.management, which does not export it to the unnamed module)
[ERROR]
[ERROR] Command line was: /home/shade/Install/jdk9b168/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/home/shade/projects/jol/jol-core/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] Exit code: 1 - /home/shade/projects/jol/jol-core/src/main/java/org/openjdk/jol/vm/sa/ServiceabilityAgentSupport.java:43: error: package sun.management is not visible
[ERROR] import sun.management.VMManagement;
[ERROR] ^
[ERROR] (package sun.management is declared in module java.management, which does not export it to the unnamed module)
[ERROR]
[ERROR] Command line was: /home/shade/Install/jdk9b168/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/home/shade/projects/jol/jol-core/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
- relates to
-
CODETOOLS-7901946 javadoc cannot be generated with the latest jdk9-ea build
-
- Resolved
-