Closed sormuras closed 7 years ago
Obviously there is a bug here, I wonder if it's because the SourceVersion is used inside a method reference (if my bytecode reading fu is correct)
You can workaround it by using modulefixer.additionalRequires set("modulefixer.additionalRequires", list( "junit.platform.console.standalone=java.compiler" ));
fixed by b1dd0c6e58d485b5afcae0f9ec42039443431888
[modulefixer] fix junit.platform.console.standalone
succeeds with current SNAPSHOT version. At runtime, it throws:Usage of
javax.lang.model.SourceVersion
should trigger:requires java.compiler;
Testable with: