Searched refs:Error (Results 126 - 150 of 1673) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/lang/instrument/PremainClass/
H A DInheritAgent1011.java44 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
66 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
H A DInheritAgent0111.java44 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
65 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
H A DInheritAgent1101.java57 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
66 throw new Error("ERROR: THIS AGENT SHOULD NOT HAVE BEEN CALLED.");
/openjdk10/jdk/test/javax/swing/JColorChooser/
H A DTest4461329.java39 throw new Error("Failed: getPreviewPanel() returned null");
44 throw new Error("Failed in setPreviewPanel()");
/openjdk10/jdk/test/tools/jjs/
H A Dmodulepath.js11 throw new Error("Expected module name to be com.greetings");
18 throw new Error("Expected 'Hello World!'");
/openjdk10/langtools/test/tools/javac/
H A DNameCollision2.java47 if (!x1) throw new Error("x1");
48 if (!x2) throw new Error("x2");
H A DNullStaticQualifier.java43 throw new Error("failed");
47 throw new Error("failed");
H A DClosure4.java46 if (v != 0) throw new Error();
63 public void foo() { throw new Error(); }
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/failures/target/
H A DDotClass.java57 if (String.class != @A String.class) throw new Error();
58 if (@A int.class != int.class) throw new Error();
59 if (@A int.class != Integer.TYPE) throw new Error();
60 if (@A int @B(0) [].class != int[].class) throw new Error();
62 if (String[].class != @A String[].class) throw new Error();
63 if (String[].class != String @A [].class) throw new Error();
64 if (@A int[].class != int[].class) throw new Error();
65 if (@A int @B(0) [].class != int[].class) throw new Error();
/openjdk10/langtools/test/tools/javac/assert/
H A DAttach.java36 throw new Error("failed 4478095.1");
38 throw new Error("failed 4478095.2");
/openjdk10/nashorn/test/script/basic/
H A DJDK-8081156.js37 throw new Error("should have thrown ReferenceError");
H A DNASHORN-109.js33 throw new Error("error");
H A DJDK-8019985.js33 throw new Error("Parsed invalid date string: " + str);
39 throw new Error("Failed to parse valid date string: " + str);
H A DNASHORN-235.js25 * NASHORN-235 : Cannot set stack property of an Error object
31 var e = new Error('error messsage');
H A DNASHORN-711.js38 throw new Error();
51 throw new Error();
H A DJDK-8130853.js35 throw new Error("should have thrown TypeError");
44 throw new Error("should have thrown TypeError");
54 throw new Error("should have thrown TypeError for load: " + code);
72 throw new Error("should have thrown TypeError");
84 throw new Error("should have thrown TypeError");
/openjdk10/nashorn/test/script/maptests/
H A Dbuiltins.js45 assertSameMap(new Error(), new Error());
46 assertSameMap(new Error('foo'), new Error('bar'));
/openjdk10/nashorn/test/script/trusted/
H A DJDK-8020809.js39 throw new Error()
/openjdk10/nashorn/test/script/nosecurity/
H A Djjs-option-scripting.js42 throw new Error("string interploation not working")
/openjdk10/jdk/test/java/beans/XMLEncoder/
H A DReferenceToNonStaticField.java101 throw new Error("Wrong font_default: " + object.font_default);
104 throw new Error("Wrong family_default: " + object.family_default);
107 throw new Error("Wrong family_set1: " + object.family_set1);
110 throw new Error("Wrong family_set2: " + object.family_set2);
113 throw new Error("Wrong family_set3: " + object.family_set3);
117 throw new Error("Wrong int_1_default: " + object.int_1_default);
120 throw new Error("Wrong int_10_default: " + object.int_10_default);
123 throw new Error("Wrong int_10_set1: " + object.int_10_set1);
126 throw new Error("Wrong int_10_set2: " + object.int_10_set2);
129 throw new Error("Wron
[all...]
/openjdk10/jdk/test/java/beans/XMLDecoder/spec/
H A DTestObject.java67 throw new Error("unexpected component count");
71 throw new Error("unexpected button text");
74 throw new Error("unexpected vertical alignment");
78 throw new Error("unexpected label text");
81 throw new Error("unexpected component");
/openjdk10/jdk/test/java/beans/Beans/
H A DTest4080522.java51 throw new Error("Beans.setDesignTime should throw SecurityException");
57 throw new Error("Beans.setGuiAvailable should throw SecurityException");
63 throw new Error("Introspector.setBeanInfoSearchPath should throw SecurityException");
69 throw new Error("PropertyEditorManager.setEditorSearchPath should throw SecurityException");
86 throw new Error("unexpected security exception", exception);
/openjdk10/jdk/test/java/beans/PropertyChangeSupport/
H A DTestListeners.java53 throw new Error("Expected 4 listeners, but called " + current);
58 throw new Error("Expected 2 listeners, but called " + current);
63 throw new Error("Expected 4 listeners, but contained " + all.length);
67 throw new Error("Expected 2 named listeners, but contained " + named.length);
71 throw new Error("Expected 0 other listeners, but contained " + other.length);
80 throw new Error("Expected 4 listeners, but contained " + all.length);
84 throw new Error("Expected 2 named listeners, but contained " + named.length);
88 throw new Error("Expected 0 other listeners, but contained " + other.length);
99 throw new Error("Unexpected listener: " + this.index);
103 throw new Error("Unexpecte
[all...]
/openjdk10/jdk/test/java/beans/VetoableChangeSupport/
H A DTestListeners.java54 throw new Error("Expected 4 listeners, but called " + current);
59 throw new Error("Expected 2 listeners, but called " + current);
64 throw new Error("Expected 4 listeners, but contained " + all.length);
68 throw new Error("Expected 2 named listeners, but contained " + named.length);
72 throw new Error("Expected 0 other listeners, but contained " + other.length);
81 throw new Error("Expected 4 listeners, but contained " + all.length);
85 throw new Error("Expected 2 named listeners, but contained " + named.length);
89 throw new Error("Expected 0 other listeners, but contained " + other.length);
100 throw new Error("Unexpected listener: " + this.index);
104 throw new Error("Unexpecte
[all...]
/openjdk10/hotspot/test/runtime/contended/
H A DOopMaps.java98 if (r1.o01 != o01) throw new Error("Test Error: o01");
99 if (r1.o02 != o02) throw new Error("Test Error: o02");
100 if (r1.o03 != o03) throw new Error("Test Error: o03");
101 if (r1.o04 != o04) throw new Error("Test Error: o04");
102 if (r1.o05 != o05) throw new Error("Test Error
[all...]

Completed in 194 milliseconds

1234567891011>>