You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
"mvn clean compile" will throw an error if, in a method, there is both a variable declared with lombok.val and a call to the default implementation of a interface
To Reproduce
package com.example;
import lombok.val;
public class class1 implements interface1 {
void method1() {
// If you comment any of the following two lines, the project compiles normally.
// Otherwise, "mvn clean compile" will report the following error:
// Compilation failure
// Lombok visitor handler class lombok.javac.handlers.HandleVal failed:
// java.lang.AssertionError
val string1 = "s";
interface1.super.defaultMethod();
}
}
public interface interface1 {
default void defaultMethod() {
}
}