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

Java 12 Support #28

Closed
ben-schroeder opened this issue Jun 20, 2019 · 3 comments
Closed

Java 12 Support #28

ben-schroeder opened this issue Jun 20, 2019 · 3 comments

Comments

@ben-schroeder
Copy link

Hi there,

I just tried to use spring-data-jpa-entity-graph 2.1.0 with openjdk-12.0.1 and it throws a NoSuchFieldException:

Caused by: java.lang.NoSuchFieldException: modifiers at java.base/java.lang.Class.getDeclaredField(Class.java:2417) at com.cosium.spring.data.jpa.entity.graph.repository.support.EntityGraphJpaRepositoryFactory.addEntityGraphToSpecialTypes(EntityGraphJpaRepositoryFactory.java:58) ... 52 common frames omitted

Thanks in advance for looking into this.

@reda-alaoui
Copy link
Member

This will be fixed by #23
Meanwhile, like in JDK 11, I think you can permit illegal access with --illegal-access=permit.

@RomainWilbert
Copy link

This does not work with JDK 13 either
--illegal-access=permit changes nothing

@reda-alaoui
Copy link
Member

@RomainWilbert , take a look at #23 (comment)

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

No branches or pull requests

3 participants