Running mvn clean test with Java 21, I get various module-related errors, such as this one:
[ERROR] mergeTreeShouldEqualReParsedPrettyPrent_whenBothRevisionsAreModified{TestSources, Path}[14] Time elapsed: 0.023 s <<< ERROR!
java.lang.ClassCastException: class spoon.reflect.factory.ModuleFactory$CtUnnamedModule cannot be cast to class spoon.reflect.declaration.CtType (spoon.reflect.factory.ModuleFactory$CtUnnamedModule and spoon.reflect.declaration.CtType are in unnamed module of loader 'app')
at se.kth.spork.cli.CliTest.runTestMerge(CliTest.java:139)
at se.kth.spork.cli.CliTest.mergeTreeShouldEqualReParsedPrettyPrent_whenBothRevisionsAreModified(CliTest.java:91)
There might be some command line options to add to open the required modules.
Running
mvn clean testwith 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.