< prev index next >

test/langtools/tools/javac/implicitThis/NewBeforeOuterConstructed2.java

Print this page
*** 23,10 ***
          void f() {
              System.out.println("ok");
          }
      }
      public static void main(String[] args) {
!         NewBeforeOuterConstructed2 c = new NewBeforeOuterConstructed2(new Object());
          Middle m = c.new Middle();
          m.f();
      }
  }
--- 23,10 ---
          void f() {
              System.out.println("ok");
          }
      }
      public static void main(String[] args) {
!         NewBeforeOuterConstructed2 c = new NewBeforeOuterConstructed2(new Object() {});
          Middle m = c.new Middle();
          m.f();
      }
  }
< prev index next >