← Back to team overview

openjdk team mailing list archive

Bug#920020: javadoc: The code being documented uses modules but the packages defined in … are in the unnamed module

 

Package: openjdk-11-jdk
Version: 11.0.2+7-1
Severity: grave
Tags: patch
Justification: renders package unusable

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (attach-javadocs) on project octopus-rpctunnel: MavenReportException: Error while generating Javadoc: 
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.

The cause for this is:

https://bugs.openjdk.java.net/browse/JDK-8212233

The fix is (not tested by myself):

http://hg.openjdk.java.net/jdk/jdk/rev/8ce4083fc831
via:
https://bugs.openjdk.java.net/browse/JDK-8217177

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages openjdk-11-jdk depends on:
ii  libc6                    2.28-5
ii  openjdk-11-jdk-headless  11.0.2+7-1
ii  openjdk-11-jre           11.0.2+7-1
ii  zlib1g                   1:1.2.11.dfsg-1

Versions of packages openjdk-11-jdk recommends:
pn  libxt-dev  <none>

Versions of packages openjdk-11-jdk suggests:
pn  openjdk-11-demo    <none>
pn  openjdk-11-source  <none>
pn  visualvm           <none>

-- no debconf information


Follow ups