Skip to content

Unable to run tests using openjdk16 #222

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

Closed
billbsing opened this issue Jul 5, 2021 · 2 comments
Closed

Unable to run tests using openjdk16 #222

billbsing opened this issue Jul 5, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@billbsing
Copy link
Contributor

billbsing commented Jul 5, 2021

The first init test fails.. with a parboiled InitializerError exception

[INFO] Running convex.core.init.InitTest
[ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.023 s <<< FAILURE! - in convex.core.init.InitTest
[ERROR] testHero  Time elapsed: 0.007 s  <<< ERROR!
java.lang.ExceptionInInitializerError
        at convex.core.init.InitTest.<clinit>(InitTest.java:24)
Caused by: java.lang.RuntimeException: Error creating extended parser class: Could not determine whether class 'convex.core.lang.Reader$$parboiled' has already been loaded
        at convex.core.init.InitTest.<clinit>(InitTest.java:24)
Caused by: java.lang.RuntimeException: Could not determine whether class 'convex.core.lang.Reader$$parboiled' has already been loaded
        at convex.core.init.InitTest.<clinit>(InitTest.java:24)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @4034c28c
        at convex.core.init.InitTest.<clinit>(InitTest.java:24)

nearly all subsequent tests also fail..

Even if I get to compile and package the java. when I run it I get

Jul 05, 2021 5:06:55 PM convex.cli.LocalStart run
INFO: Starting local network with 8 peer(s)
Jul 05, 2021 5:06:55 PM convex.cli.Main execute
SEVERE: null

so looks like parboild rewrite is a go

@mikera mikera added the bug Something isn't working label Jul 5, 2021
@mikera
Copy link
Member

mikera commented Jul 5, 2021

@mikera mikera added this to the Beta milestone Jul 5, 2021
@mikera
Copy link
Member

mikera commented Jul 12, 2021

I believe this is fixed with the replacement of Parboiled with ANTLR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants