< prev index next >

test/langtools/tools/javac/SuperInit/SuperInitFails.java

Print this page
*** 89,11 ***
              return;                     // this should FAIL
          super();
      }
  
      public SuperInitFails(short[] x) {
!         this.x = x.length;              // this should FAIL
          super();
      }
  
      public SuperInitFails(float[] x) {
          System.identityHashCode(this);  // this should FAIL
--- 89,11 ---
              return;                     // this should FAIL
          super();
      }
  
      public SuperInitFails(short[] x) {
!         this.x = x.length;              // this should work
          super();
      }
  
      public SuperInitFails(float[] x) {
          System.identityHashCode(this);  // this should FAIL
< prev index next >