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
public class Host {
static class StaticDelegate implements Consumer<String> {
@Delegate private Consumer<String> delegate;
}
}
when compiled with JDK9 produces the compile error:
StaticDelegate is not abstract and does not override abstract method accept(String) in Consumer
static class StaticDelegate implements Consumer<String>
I tried it with the 1.16.16 release and the current edge release.
This code
when compiled with JDK9 produces the compile error:
I tried it with the 1.16.16 release and the current edge release.
For a complete example including shell script and maven build file, see https://github.com/schauder/spring-data-from-java-9/blob/master/lombok/src/main/java/de/schauderhaft/jdk9/lombok/Host.java
The text was updated successfully, but these errors were encountered: