< prev index next >

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

Print this page

 74     }
 75 
 76     public SuperInitFails(double x) {
 77         SuperInitFails.super.hashCode();     // this should FAIL
 78         super();
 79     }
 80 
 81     public SuperInitFails(byte[] x) {
 82         {
 83             super();                    // this should FAIL
 84         }
 85     }
 86 
 87     public SuperInitFails(char[] x) {
 88         if (x.length == 0)
 89             return;                     // this should FAIL
 90         super();
 91     }
 92 
 93     public SuperInitFails(short[] x) {
 94         this.x = x.length;              // this should FAIL
 95         super();
 96     }
 97 
 98     public SuperInitFails(float[] x) {
 99         System.identityHashCode(this);  // this should FAIL
100         super();
101     }
102 
103     public SuperInitFails(int[] x) {
104         this(this);                     // this should FAIL
105     }
106 
107     public SuperInitFails(long[] x) {
108         this(Object.this);              // this should FAIL
109     }
110 
111     public SuperInitFails(double[] x) {
112         Iterable.super.spliterator();   // this should FAIL
113         super();
114     }

 74     }
 75 
 76     public SuperInitFails(double x) {
 77         SuperInitFails.super.hashCode();     // this should FAIL
 78         super();
 79     }
 80 
 81     public SuperInitFails(byte[] x) {
 82         {
 83             super();                    // this should FAIL
 84         }
 85     }
 86 
 87     public SuperInitFails(char[] x) {
 88         if (x.length == 0)
 89             return;                     // this should FAIL
 90         super();
 91     }
 92 
 93     public SuperInitFails(short[] x) {
 94         this.x = x.length;              // this should work
 95         super();
 96     }
 97 
 98     public SuperInitFails(float[] x) {
 99         System.identityHashCode(this);  // this should FAIL
100         super();
101     }
102 
103     public SuperInitFails(int[] x) {
104         this(this);                     // this should FAIL
105     }
106 
107     public SuperInitFails(long[] x) {
108         this(Object.this);              // this should FAIL
109     }
110 
111     public SuperInitFails(double[] x) {
112         Iterable.super.spliterator();   // this should FAIL
113         super();
114     }
< prev index next >