-
-
Notifications
You must be signed in to change notification settings - Fork 53
Make updated Java parser fully functional #49
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
Comments
The issue mentioned here may be caused by modular source parsing being disabled. Currently,
This appears to be related to this patch applied to address a JDK performance issue. The hypothesis related to the current state of |
Thanks for the exhaustive research on the subject! |
As of 12acdcd, the java parser has all the same functionality in JDK9+ as it did in JDK8 and earlier. That's nice to say! |
The hypothesis (hope?) that this might eliminate the |
Great work! Hopefully the JVM internals are now going to stay stable for a very long time!
Thanks for the update! It's unfortunate that the problem is still around, but I guess we'll figure it out sooner or later. Worst case scenario - it will get auto-solved when JDK 8 reaches its EOL (but I assume JDK 8 is going to be around for a veeery long time). |
We're only using public APIs now, so if it's not stable, they broke it!
Regrettably, this is a JDK9+ issue. It sure looks like a JDK bug to me (we're not doing anything that isn't advertised behavior of the public API), so hopefully it will get fixed at some point. In the meanwhile, I've yet to see any actual impact, so swallowing the exception seems reasonable. |
The updated Java parser (added in 33f0791) works with JDK9+, but currently only supports non-modular sources. Practically speaking, it can parse everything except the Java 9+ platform sources in
src.zip
-- but this is primary use case.The machinery for parsing modular sources is in place. The issue is the new access policies enforced for modules. Need to figure out how to have the compiler read these without throwing up.
The text was updated successfully, but these errors were encountered: