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

Heph fails on Java 11 #12

Closed
arjanvlek opened this issue Jan 29, 2019 · 4 comments
Closed

Heph fails on Java 11 #12

arjanvlek opened this issue Jan 29, 2019 · 4 comments

Comments

@arjanvlek
Copy link
Contributor

When using Heph with JDK 11, the library fails when the findEntity method is called.
The following error is logged:

[ERROR] findAll(com.example.MyUnitTest)  Time elapsed: 0.119 s  <<< ERROR!
java.lang.IllegalStateException: Could not retrieve method handle. Is the BuildCommand placed in a public interface?
        at com.example.MyUnitTest.findAll(MyUnitTest.java:20)
Caused by: java.lang.IllegalAccessException: access to public member failed: com.example.builder.myentity.MyBuildCommand.findEntity[Ljava.lang.Object;@2a1fce44/invokeSpecial, from com.example.builder.myentity.MyBuildCommand/2 (unnamed module @44e58260)
        at com.example.MyUnitTest.findAll(MyUnitTest.java:20)
@arjanvlek
Copy link
Contributor Author

Judging from the error, the same applies to https://github.com/42bv/beanie

@jeroenvs
Copy link
Member

@RubberDuckJordi
Copy link

See #17

@sptdevos
Copy link
Member

sptdevos commented Oct 7, 2020

What Jordi says...

@sptdevos sptdevos closed this as completed Oct 7, 2020
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

4 participants