tkobayas commented on code in PR #6569:
URL:
https://github.com/apache/incubator-kie-drools/pull/6569#discussion_r2734971323
##########
drools-ecj/src/main/java/org/drools/ecj/EclipseJavaCompiler.java:
##########
@@ -156,6 +158,16 @@ public char[][] getPackageName() {
public boolean ignoreOptionalProblems() {
return true;
}
+
+ @Override
+ public char[] getModuleName() {
+ return ModuleBinding.UNNAMED;
+ }
+
+ @Override
+ public ModuleBinding module(LookupEnvironment environment) {
+ return environment.getModule(ModuleBinding.UNNAMED);
+ }
Review Comment:
These methods are required (= provide a module name) to compile Java codes
with eclipse ecj 3.44.0.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]