-
Notifications
You must be signed in to change notification settings - Fork 8
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 21 support #479
Comments
thanks for the report, would you be able to PR? |
Spork is only known to run really well with Java 11, and on Java 11 code. There's syntax in later versions of Java that Spork does not support merging. As long as that syntax isn't used in the source code it should in theory be possible to use Spork on later versions of Java, though, but then Spoon needs to be updated. Spork is about 2 years out of date with Spoon versions and there are many breaking changes in later versions of gumtree/gumtree-spoon (which would also need to be updated to update spoon itself). Due to the nature of Spork, it relies uncomfortably much on implementation details of libraries (Spoon and gumtree-spoon) that themselves rely on implementation details of the JVM, so updating to later versions is quite a bit of work and requires quite a bit of tuning. I'd be happy to see updates to the core dependencies but my time for such is unfortunately too limited to start up right now. |
Good to know that it's a significant task! |
Running
mvn clean test
with Java 21, I get various module-related errors, such as this one:There might be some command line options to add to open the required modules.
The text was updated successfully, but these errors were encountered: