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?
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?