openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13246
[Bug 1800792] Re: Update to 8u181-b13-1ubuntu0.18.04.1 breaks Maven builds
Jeroen: I believe it is using javac 10/11. If I run maven with -X it
prints the version info in the beginning and that points to the same
paths as below.
$ javac -version
javac 10.0.2
$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)
$ mvn --version
Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 10.0.2, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-38-generic", arch: "amd64", family: "unix"
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1800792
Title:
Update to 8u181-b13-1ubuntu0.18.04.1 breaks Maven builds
Status in openjdk-11 package in Ubuntu:
Confirmed
Status in openjdk-8 package in Ubuntu:
Confirmed
Bug description:
Today both the OpenJDK 8 and 11 packages were updated. In the case of
OpenJDK 8:
openjdk-8-jdk: 8u181-b13-0ubuntu0.18.04.1 → 8u181-b13-1ubuntu0.18.04.1
OpenJDK 11 (10 really):
openjdk-11-jdk: 10.0.2+13-1ubuntu0.18.04.2 →
10.0.2+13-1ubuntu0.18.04.3
After this update all my local Maven builds fail with a crashed VM.
From the console output it looks like one of the prerequisites of
JaCoCo (Java code coverage tool) is no longer met, but I haven't been
able to figure out what the root cause is.
This problem occurs with both OpenJDK 8 and 10.
Reproduction:
This is one of our projects: https://github.com/LableOrg/java-nicerxvi
Clone the project, and call `mvn clean install`. For me it now fails
to build (output attached).
When I downgrade to 8u162-b12-1 everything works again.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-11/+bug/1800792/+subscriptions
References