mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 00:26:04 +00:00
Issue 559: NullPointerException when @NonNull is used in abstract method
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
abstract class NonNullOnParameterAbstract {
|
||||
public void test(@lombok.NonNull String arg) {
|
||||
System.out.println("Hey");
|
||||
}
|
||||
|
||||
public abstract void test2(@lombok.NonNull String arg);
|
||||
}
|
||||
Reference in New Issue
Block a user