openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13245
[Bug 1800792] Re: Update to 8u181-b13-1ubuntu0.18.04.1 breaks Maven builds
I've had to disable JaCoCo, and set the <forkCount> of the Surefire-
plugin to 0 to get the mini-project 'NiceXVI' linked above to build
under this OpenJDK 8 version. So it looks like it is not just JaCoCo.
OpenJDK 11 works after updating JaCoCo though.
Viktor: I have the set $JAVA_HOME in order for Maven to use a different
JDK, regardless of the version of java available in the shell. Are you
sure you are running the build with javac 10/11?
--
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