Searched refs:failure (Results 1 - 25 of 170) sorted by relevance

1234567

/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/server/
H A DRMIFailureHandler.java31 * <code>failure</code> method of the handler is invoked when the RMI
33 * for incoming calls. The <code>failure</code> method returns a boolean
43 * The <code>failure</code> callback is invoked when the RMI
47 * <code>RMISocketFacotry.setFailureHandler</code>. If no failure
58 public boolean failure(Exception ex); method in interface:RMIFailureHandler
/openjdk10/jdk/test/java/nio/channels/
H A DTestThread.java34 Exception failure = null; field in class:TestThread
57 failure = x;
66 if (isAlive() && (failure == null))
67 failure = new Exception(name + ": Timed out");
68 if (failure != null) {
69 failure.printStackTrace(log);
79 if (failure != null)
80 failure = new Exception(name + " threw an exception",
81 failure);
82 if (isAlive() && (failure
[all...]
/openjdk10/jdk/test/java/security/Provider/
H A DProviderVersionCheck.java41 boolean failure = false;
48 failure = true;
54 if (failure) {
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DKeyFactory.java348 Exception failure = null;
354 if (failure == null) {
355 failure = e;
360 if (failure instanceof RuntimeException) {
361 throw (RuntimeException)failure;
363 if (failure instanceof InvalidKeySpecException) {
364 throw (InvalidKeySpecException)failure;
367 ("Could not generate public key", failure);
386 Exception failure = null;
392 if (failure
[all...]
H A DKeyPairGenerator.java240 NoSuchAlgorithmException failure = null;
252 if (failure == null) {
253 failure = e;
257 throw failure;
668 RuntimeException failure = null;
679 if (failure == null) {
680 failure = e;
685 throw failure;
695 Exception failure = null;
706 if (failure
[all...]
/openjdk10/jdk/test/javax/management/mxbean/
H A DMXBeanAnnotationTest.java62 failure = "MXBean with empty interface got exception: " + e;
63 System.out.println("FAILED: " + failure);
71 failure = "Registered a non-Standard MBean with @MXBean(false)";
72 System.out.println("FAILED: " + failure);
78 if (failure == null)
81 throw new Exception("TEST FAILED: " + failure);
92 failure = "MBean should " + (expected ? "" : "not ") +
98 private static String failure; field in class:MXBeanAnnotationTest
H A DComparatorExceptionTest.java55 private static String failure; field in class:ComparatorExceptionTest
58 failure = "FAILED: " + why;
59 System.out.println(failure);
87 if (failure != null)
88 throw new Exception(failure);
H A DMXBeanPreRegisterTest.java72 if (failure != null)
73 throw new Exception("TEST FAILED: " + failure);
93 failure = testDescr;
94 System.out.println("FAILED: " + failure);
98 private static String failure; field in class:MXBeanPreRegisterTest
H A DOverloadTest.java57 if (failure != null)
58 throw new Exception(failure);
64 failure = "FAILED: got \"" + got + "\", expected \"" + expect + "\"";
65 System.out.println(failure);
99 private static String failure; field in class:OverloadTest
/openjdk10/jdk/test/com/sun/jdi/
H A DLocationTest.java74 failure("Test failure: " + refs.size() +
81 failure("Test failure: " + meths.size() +
104 failure("location of AbstractLocationTarg.foo() should have " +
110 failure("location of java.util.List.clear() " +
116 failure("location of Object.getClass() " +
120 failure("location.declaringType() of Object.getClass() " +
125 failure("location.method() of Object.getClass() " +
130 failure("locatio
[all...]
H A DVMDeathRequestTest.java77 failure("failure: wrong suspend policy");
83 failure("failure: Unexpected type of VMDeathEvent occurred");
115 failure("failure: vmDeathRequests()");
118 failure("failure: canRequestVMDeathEvent() returned false");
139 failure("failure
[all...]
H A DVMDeathLastTest.java60 failure("Failure: Got MethodEntryEvent after VM Dead");
66 failure("Failure: Got ClassPrepareEvent after VM Dead");
72 failure("Failure: Got ThreadDeathEvent after VM Dead");
84 failure("Test failure: didn't get VMDeath");
107 failure("VM says it is read-only");
H A DMonitorFrameInfo.java106 failure("FAILED: frame failed");
110 failure("FAILED: frames size failed");
114 failure("FAILED: frames size not equal to frameCount");
123 failure("monitors count is not equal to expected count");
130 failure("FAILED: monitor stack depth is not equal to expected depth");
149 failure("FAILED: MonitorInfo object was not invalidated by a resume");
163 * if anything has called failure("foo") testFailed will be true
H A DFramesTest.java83 failure("unexpected exception thrown for: " +
89 failure("expected IndexOutOfBoundsException " +
99 failure("wrong length for: " +
107 failure("bad frame entry (" + start + "," + length +
113 failure("unexpected exception thrown for: " +
136 failure("frame failed");
140 failure("frames size failed");
144 failure("frames size not equal to frameCount");
166 * if anything has called failure("foo") testFailed will be true
H A DLineNumberInfo.java157 failure("FAILED: Bad test. Line number and code index arrays " +
169 failure("FAILED: Bad line number table size: jdi=" +
179 failure("FAILED: Code index mismatch: jdi=" +
184 failure("FAILED: Line number mismatch: jdi=" +
197 * if anything has called failure("foo") testFailed will be true
H A DInstanceFilter.java102 failure("FAILED: Exception occured in methodEntered: " + ee);
115 failure("FAILED: Got a hit on a non-selected instance");
123 failure("FAILED: Got too many methodEntryEvents");
125 failure("FAILED: Expected method: " + expectedMethods[methodCount]);
152 failure("FAILED: Expected " + expectedMethods.length + " events, only got "
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/
H A DSecretKeyFactory.java340 Exception failure = null;
346 if (failure == null) {
347 failure = e;
352 if (failure instanceof InvalidKeySpecException) {
353 throw (InvalidKeySpecException)failure;
356 ("Could not generate secret key", failure);
384 Exception failure = null;
390 if (failure == null) {
391 failure = e;
396 if (failure instanceo
[all...]
H A DKeyGenerator.java414 RuntimeException failure = null;
425 if (failure == null) {
426 failure = e;
431 throw failure;
473 Exception failure = null;
484 if (failure == null) {
485 failure = e;
490 if (failure instanceof InvalidAlgorithmParameterException) {
491 throw (InvalidAlgorithmParameterException)failure;
493 if (failure instanceo
[all...]
/openjdk10/jdk/test/java/util/Map/
H A DEntryHashCode.java77 Exception failure = null;
96 if (failure == null) {
97 failure = e;
99 failure.addSuppressed(e);
105 if (failure != null) {
106 throw failure;
/openjdk10/langtools/test/tools/javac/processing/model/util/deprecation/
H A DTestDeprecation.java58 boolean failure = false;
64 failure = deprecationChecker.scan(element);
67 if (failure)
75 private boolean failure; field in class:TestDeprecation.DeprecationChecker
79 failure = false;
93 failure = true;
101 return failure;
/openjdk10/jdk/test/javax/management/descriptor/
H A DUnionTest.java84 if (failure != null)
85 throw new Exception("TEST FAILED: " + failure);
91 failure = "Union of empty descriptors should be " +
93 System.err.println("FAILED: " + failure);
101 failure = "Union should produce one of its arguments but does not";
102 System.err.println("FAILED: " + failure);
110 failure = "Union produced this: " + d + "; but should have " +
112 System.err.println("FAILED: " + failure);
117 private static String failure; field in class:UnionTest
/openjdk10/jdk/test/javax/management/MBeanServer/
H A DPostRegisterDeadlockTest.java127 if (failure == null)
137 if (failure == previous)
140 previous = failure;
158 if (failure == null)
170 if (failure == previous)
172 previous = failure;
174 if (failure == null)
177 throw new Exception("TEST FAILED: " + failure);
182 failure = (failure
185 private static volatile String failure; field in class:PostRegisterDeadlockTest
[all...]
/openjdk10/jdk/test/java/util/zip/ZipFile/
H A Ddeletetempjar.sh36 echo Unexpected failure with exit status $rc
/openjdk10/jdk/test/com/sun/jdi/sde/
H A DMangleTest.java54 failure("FAIL: " + label +
63 failure("FAIL: " + label +
72 failure("FAIL: " + label +
87 failure("FAIL: " + label + "(" + stratum + ")" +
97 failure("FAIL: " + label + "(" + stratum + ")" +
107 failure("FAIL: " + label + "(" + stratum + ")" +
120 failure("FAIL: index=" + index +
162 failure("FAIL: unexpected ref type sourceName - " + sourceName);
171 failure("FAIL: unexpected ref type Java sourceNames - " +
178 failure("FAI
[all...]
/openjdk10/jdk/test/javax/accessibility/AccessibilityProvider/
H A DLoad.java67 boolean failure = false;
72 failure = true;
77 if (failure && passExpected) {
80 if (!failure && !passExpected) {
81 String s = "Test passed but a failure was expected. ";

Completed in 264 milliseconds

1234567