From 0106746e60263d8cc3fbd189cca7b2e09c3d5c06 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Wed, 17 Feb 2021 09:41:08 +0100 Subject: [fixes #2752] Save problem handler state for postponed error handling --- .../after-ecj/ExtensionMethodNonStaticAccess.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java (limited to 'test/transform/resource/after-ecj') diff --git a/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java b/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java new file mode 100644 index 00000000..c930a329 --- /dev/null +++ b/test/transform/resource/after-ecj/ExtensionMethodNonStaticAccess.java @@ -0,0 +1,22 @@ +class ExtensionMethodNonStaticAccess { + ExtensionMethodNonStaticAccess() { + super(); + } + public void method() { + Derived derived = new Derived(); + derived.staticMethod(); + } +} +class Base { + Base() { + super(); + } + static String staticMethod() { + return ""; + } +} +class Derived extends Base { + Derived() { + super(); + } +} -- cgit