Changes to MGC class library and fix a bug regarding nested inline class declaration
[IRC.git] / Robust / src / Tests / inner.java
index 5558f8ec48de23319c6421b21ef7b8a9f8c38c58..add612b54ca27dd176b96143b57b5161b1d8b46a 100644 (file)
@@ -34,7 +34,12 @@ public class inner extends innerp {
       int j = 0; // this should not be included into the following anonymous inner class
       this.outerprintInnerp(new innerCallback() {
          public void call() {
-             System.out.println("innerCallback: " + value);
+             (new innerCallback() {
+                 public void call() {
+                     System.out.println("innerCallback.innerCallback: " + value);
+                 }
+             }).call();
+             //System.out.println("innerCallback: " + value);
          }
       });
   }