mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 10:23:55 +00:00
[fixes #2752] Save problem handler state for postponed error handling
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
//issue #2752: this test triggers an indirect static access and a non static access warning for the same method call
|
||||
//platform ecj,eclipse
|
||||
class ExtensionMethodNonStaticAccess {
|
||||
public void method(){
|
||||
Derived derived = new Derived();
|
||||
derived.staticMethod();
|
||||
}
|
||||
}
|
||||
|
||||
class Base {
|
||||
static String staticMethod() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
class Derived extends Base {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user