mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 16:15:29 +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:
1 parent
cf7290f861
commit
72b55dccb1
8 files changed
+43
No files matched your search
@@ -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