/openjdk7/langtools/test/tools/javac/implicitThis/ |
H A D | WhichImplicitThis3.java | 35 void check() { method in class:WhichImplicitThis3 37 public void check() { 43 public void check() { 44 new I2().check(); // which outer does I2 get? 47 new I3().check(); 50 new WhichImplicitThis3().check();
|
H A D | WhichImplicitThis4.java | 35 void check() { method in class:WhichImplicitThis4 43 public void check() { 53 new I3().check(); 56 new WhichImplicitThis4().check();
|
/openjdk7/langtools/test/tools/javac/enum/ |
H A D | T5081785.java | 38 public void check() { method in class:A
|
H A D | T5081785a.java | 25 public A check() { method in class:A
|
/openjdk7/langtools/test/tools/javac/ |
H A D | HexFloatLiterals.java | 32 public static void check(float a, float b) { method in class:HexFloatLiterals 35 public static void check(double a, double b) { method in class:HexFloatLiterals 39 check(-0X.003p12d, Double.parseDouble("-0X.003p12d")); 40 check(-0x.003P12F, Float.parseFloat("-0x.003P12F")); 41 check(0x.006p11D, Double.parseDouble("0x.006p11D")); 42 check(0X.00cP10D, Double.parseDouble("0X.00cP10D")); 43 check(-0x.018P9, Double.parseDouble("-0x.018P9")); 44 check(0x.018P9D, Double.parseDouble("0x.018P9D")); 45 check(0X.018P9D, Double.parseDouble("0X.018P9D")); 46 check( [all...] |
H A D | QualifiedThisAndSuper_1.java | 64 void check(String expr, String result, String expected) { method in class:QualifiedThisAndSuper_1 97 check("this.m()", this.m(), "cm"); 99 check("A.this.m()", A.this.m(), "am"); 100 check("B.this.m()", B.this.m(), "bm"); 101 check("C.this.m()", C.this.m(), "cm"); 103 check("super.m()", super.m(), "csm"); 105 check("A.super.m()", A.super.m(), "asm"); 106 check("B.super.m()", B.super.m(), "bsm"); 107 check("C.super.m()", C.super.m(), "csm"); 110 check(" [all...] |
H A D | QualifiedThisAndSuper_2.java | 37 void check(String expr, String result, String expected) { method in class:QualifiedThisAndSuper_2 70 check("this.m()", this.m(), "cm"); 72 check("A.this.m()", A.this.m(), "am"); 73 check("B.this.m()", B.this.m(), "bm"); 74 check("C.this.m()", C.this.m(), "cm"); 78 check("this.n()", this.n(), "cn"); 80 check("A.this.n()", A.this.n(), "an"); 81 check("B.this.n()", B.this.n(), "bn"); 82 check("C.this.n()", C.this.n(), "cn"); 86 check("thi [all...] |
H A D | QualifiedThisAndSuper_3.java | 70 void check(String expr, String result, String expected) { method in class:QualifiedThisAndSuper_3 111 check("QualifiedThisAndSuper_3.super.xm()", QualifiedThisAndSuper_3.super.xm(), "xasm"); 113 // check("QualifiedThisAndSuper_3.super.xn()", QualifiedThisAndSuper_3.super.xn(), "xasn"); 114 check("QualifiedThisAndSuper_3.super.xo()", QualifiedThisAndSuper_3.super.xo(), "xaso"); 116 check("QualifiedThisAndSuper_3.super.xs", QualifiedThisAndSuper_3.super.xs, "xass"); 118 // check("QualifiedThisAndSuper_3.super.xt", QualifiedThisAndSuper_3.super.xt, "xast"); 119 check("QualifiedThisAndSuper_3.super.xu", QualifiedThisAndSuper_3.super.xu, "xasu"); 121 check("QualifiedThisAndSuper_3.this.xm()", QualifiedThisAndSuper_3.this.xm(), "xam"); 122 check("QualifiedThisAndSuper_3.this.xn()", QualifiedThisAndSuper_3.this.xn(), "xan"); 123 check("QualifiedThisAndSuper_ [all...] |
H A D | StringConversion.java | 42 static void check(int testid, String have, String expect) method in class:StringConversion 65 check(11, s, "foonull"); 67 check(12, s, "nullbar"); 69 check(13, s, "foonull"); 71 check(14, s, "nullbar"); 75 check(21, s, "null"); 77 check(22, s, "null"); 79 check(23, s, "null"); 81 check(24, s, "null"); 87 check(3 [all...] |
/openjdk7/jdk/test/java/lang/Integer/ |
H A D | ParsingTest.java | 50 check("+100", +100); 51 check("-100", -100); 53 check("+0", 0); 54 check("-0", 0); 55 check("+00000", 0); 56 check("-00000", 0); 58 check("0", 0); 59 check("1", 1); 60 check("9", 9); 77 private static void check(Strin method in class:ParsingTest [all...] |
H A D | Decode.java | 47 private static void check(String val, int expected) { method in class:Decode 62 check(new String(""+Integer.MIN_VALUE), Integer.MIN_VALUE); 63 check(new String(""+Integer.MAX_VALUE), Integer.MAX_VALUE); 65 check("10", 10); 66 check("0x10", 16); 67 check("0X10", 16); 68 check("010", 8); 69 check("#10", 16); 71 check("+10", 10); 72 check(" [all...] |
/openjdk7/jdk/test/java/lang/Byte/ |
H A D | Decode.java | 48 private static void check(String val, byte expected) { method in class:Decode 63 check(new String(""+Byte.MIN_VALUE), Byte.MIN_VALUE); 64 check(new String(""+Byte.MAX_VALUE), Byte.MAX_VALUE); 66 check("10", (byte)10); 67 check("0x10", (byte)16); 68 check("0X10", (byte)16); 69 check("010", (byte)8); 70 check("#10", (byte)16); 72 check("+10", (byte)10); 73 check(" [all...] |
/openjdk7/jdk/test/java/lang/Long/ |
H A D | Decode.java | 49 private static void check(String val, long expected) { method in class:Decode 64 check(new String(""+Long.MIN_VALUE), Long.MIN_VALUE); 65 check(new String(""+Long.MAX_VALUE), Long.MAX_VALUE); 67 check("10", 10L); 68 check("0x10", 16L); 69 check("0X10", 16L); 70 check("010", 8L); 71 check("#10", 16L); 73 check("+10", 10L); 74 check(" [all...] |
H A D | ParsingTest.java | 50 check("+100", +100L); 51 check("-100", -100L); 53 check("+0", 0L); 54 check("-0", 0L); 55 check("+00000", 0L); 56 check("-00000", 0L); 58 check("0", 0L); 59 check("1", 1L); 60 check("9", 9L); 77 private static void check(Strin method in class:ParsingTest [all...] |
/openjdk7/jdk/test/java/lang/Short/ |
H A D | Decode.java | 48 private static void check(String ashort, short expected) { method in class:Decode 63 check(new String(""+Short.MIN_VALUE), Short.MIN_VALUE); 64 check(new String(""+Short.MAX_VALUE), Short.MAX_VALUE); 66 check("10", (short)10); 67 check("0x10", (short)16); 68 check("0X10", (short)16); 69 check("010", (short)8); 70 check("#10", (short)16); 72 check("+10", (short)10); 73 check(" [all...] |
/openjdk7/jdk/test/sun/security/krb5/ |
H A D | ParseCAPaths.java | 41 check("ANL.GOV", "TEST.ANL.GOV", "ANL.GOV"); 42 check("ANL.GOV", "ES.NET", "ANL.GOV"); 43 check("ANL.GOV", "PNL.GOV", "ANL.GOV", "ES.NET"); 44 check("ANL.GOV", "NERSC.GOV", "ANL.GOV", "ES.NET"); 46 check("N1.N.COM", "N2.N.COM", "N1.N.COM", "N.COM"); // 2 common 47 check("N1.N.COM", "N2.N3.COM", "N1.N.COM", "N.COM", // 1 common 49 check("N1.COM", "N2.COM", "N1.COM", "COM"); // 1 common 50 check("N1", "N2", "N1"); // 0 common 52 check("A1.COM", "A4.COM", "A1.COM", "A2.COM"); 53 check("B 74 static void check(String from, String to, String... paths) { method in class:ParseCAPaths [all...] |
H A D | DnsFallback.java | 38 check("true", "true", true); 39 check("false", "true", false); 40 check("true", "false", true); 41 check("false", "false", false); 42 check("true", null, true); 43 check("false", null, false); 44 check(null, "true", true); 45 check(null, "false", false); 48 check(null, null, true); 51 static void check(Strin method in class:DnsFallback [all...] |
H A D | ConfPlusProp.java | 55 void check(String r, String k) throws Exception { method in class:ConfPlusProp 75 check("R1", "k1"); 76 check("R2", "old"); 77 check("R3", null); 88 check("R1", "k12"); 89 check("R2", "old"); 90 check("R3", null); 103 check("R1", null); 104 check("R2", null); 105 check("R [all...] |
/openjdk7/hotspot/test/compiler/6778657/ |
H A D | Test.java | 33 float check = expect; 34 check *= 2; 35 int actual = (int) check; 41 float check = expect; 42 check *= 2; 43 long actual = (long) check; 49 double check = expect; 50 check *= 2; 51 int actual = (int) check; 57 double check [all...] |
/openjdk7/langtools/test/tools/javac/ClassLiterals/ |
H A D | LiteralInterfaceImpl.java | 38 private static void check(Class c1, Class c2) throws Exception{ method in class:LiteralInterfaceImpl 45 check(c1, Object.class); 46 check(c2, Integer.class); 48 check(foo, Object.class); 49 check(bar, String.class); 50 check(baz, Integer.class); 54 // check(quux, J.class); 56 check(quux, LiteralInterface_2.J.class); 59 check(o.quem, Float.class);
|
/openjdk7/jdk/test/java/security/Provider/ |
H A D | Turkish.java | 55 check(s1, null); 56 check(s1, p1.getService("Signature", "md5withrsa")); 57 check(s1, p1.getService("Signature", "MD5WITHRSA")); 58 check(s1, p1.getService("Signature", "MD5RSA")); 59 check(s1, p1.getService("Signature", "md5rsa")); 60 check(s1, p1.getService("Signature", "MD5rsa")); 63 check(s1, null); 64 check(s1, p1.getService("Signature", "shawithrsa")); 65 check(s1, p1.getService("Signature", "SHAWITHRSA")); 66 check(s 98 private static void check(Service s1, Service s2) throws Exception { method in class:Turkish [all...] |
/openjdk7/langtools/test/tools/javac/annotations/pos/ |
H A D | Primitives.java | 51 static void check(Object actual, Object expected) { method in class:Primitives 57 check(T1.class.getAnnotation(A.class).value(), void.class); 58 check(T1.class.getAnnotation(B.class).value().length, 1); 59 check(T1.class.getAnnotation(B.class).value()[0], void.class); 61 check(T2.class.getAnnotation(A.class).value(), int.class); 62 check(T2.class.getAnnotation(B.class).value().length, 11); 63 check(T2.class.getAnnotation(B.class).value()[0], void.class); 64 check(T2.class.getAnnotation(B.class).value()[1], byte.class); 65 check(T2.class.getAnnotation(B.class).value()[2], char.class); 66 check(T [all...] |
/openjdk7/langtools/test/tools/javac/varargs/ |
H A D | Varargs1.java | 53 static void check(int expected, int actual) { method in class:Varargs1 57 check(1, f("x", 12, (short)13)); 58 check(2, f("x", 12, 13)); 59 check(3, f("x", 12, 13, 14)); 60 check(4, f("x", 12, 13.5)); 61 check(5, f("x", 12, true)); 62 check(6, f(12, 13));
|
/openjdk7/jdk/test/java/util/Collections/ |
H A D | NCopies.java | 51 static void check(boolean condition, String msg) { method in class:NCopies 58 static void check(boolean condition) { method in class:NCopies 59 check(condition, "Assertion failure"); 63 check(x.isEmpty()); 64 check(x.size() == 0); 65 check(x.indexOf("foo") == -1); 66 check(x.lastIndexOf("foo") == -1); 67 check(x.toArray().length == 0); 68 check(x.toArray().getClass() == Object[].class); 72 check(! [all...] |
/openjdk7/langtools/test/tools/javac/versions/ |
H A D | check.sh | 28 # @run shell check.sh 44 check() { function 50 check 48.0 -source 1.4 52 check 49.0 -source 1.4 -target 1.5 53 check 49.0 -source 1.5 -target 1.5 55 check 50.0 -source 1.4 -target 1.6 56 check 50.0 -source 1.5 -target 1.6 57 check 50.0 -source 1.6 -target 1.6 58 check 50.0 -source 1.6 -target 6 59 check 50. [all...] |