Bug#932746: EclipseLink 2.6.6 doesn't work with OpenJDK 11

Sergio Gelato sergio.gelato at astro.su.se
Mon Jul 22 18:27:45 BST 2019


Package: libeclipselink-java
Version: 2.6.6-1
Severity: important
Tags: fixed-upstream

When run with OpenJDK 11, which is the default JRE in buster, I get an exception trace that ends with:
Caused by: java.lang.NullPointerException
	at org.eclipse.persistence.internal.helper.JavaSEPlatform.atLeast(JavaSEPlatform.java:150)
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.getProvider(IndirectCollectionsFactory.java:202)
	at org.eclipse.persistence.indirection.IndirectCollectionsFactory.<clinit>(IndirectCollectionsFactory.java:45)
	... 11 more

This is upstream bug 536730, for which a fix is available on the 2.6 maintenance branch. (It would have made it into 2.6.7 if this had been released.) I have verified that cherry-picking the fix solves this particular issue.

More comprehensive support for Java 11, including but not limited to the fix for this bug, is in EclipseLink 2.7.2 and later.


More information about the pkg-java-maintainers mailing list