Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jadira Usertypes with Java 10 throws java.lang.ArrayIndexOutOfBoundsException on initialisation #71

Open
woditschka opened this issue Mar 23, 2018 · 7 comments

Comments

@woditschka
Copy link

When starting an JPA application with jadira usertype 6.0.1.GA the application fails to start when parsing the Java version:

Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
       at org.jadira.usertype.spi.utils.runtime.JavaVersion.<clinit>(JavaVersion.java:16)
@Crim
Copy link

Crim commented Mar 23, 2018

Same issue here w/ JRE 10

@Crim
Copy link

Crim commented Mar 23, 2018

Looks like it was resolved in 7.0.0.CR1 release.

@chrisphe
Copy link
Member

Great

@davidkarlsen
Copy link

Will there be a final release soon?

@rafal-glowinski
Copy link

And still not released :(

@alessiostalla
Copy link

Java 13 has the same problem.

@alessiostalla
Copy link

Also in 6.0.1.GA the logic in the hibernate type integrator to check the Java version is wrong. To check for Java 8+ it checks major >= 1 AND minor >= 8 while it should be major > 1 OR minor >= 8. In 7.0.0.CR1 the logic has changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants