/openjdk10/hotspot/test/runtime/jni/ToStringInInterfaceTest/ |
H A D | libToStringTest.c | 30 #define checkException(env) if ((*env)->ExceptionCheck(env)) { return; } macro 55 checkException(env); 57 checkException(env); 60 checkException(env); 63 checkException(env); 66 checkException(env); 69 checkException(env); 72 checkException(env); 78 checkException(env);
|
/openjdk10/jdk/test/lib/testlibrary/bootlib/java.base/java/util/stream/ |
H A D | ThrowableHelper.java | 30 public static void checkException(Class<? extends Exception> ce, Runnable r) { method in class:ThrowableHelper 43 checkException(NullPointerException.class, r); 47 checkException(IllegalStateException.class, r);
|
/openjdk10/jdk/test/java/util/logging/ |
H A D | FileHandlerPatternExceptions.java | 187 private static void checkException(Class<? extends Exception> type, FileHandlerSupplier test) { method in class:FileHandlerPatternExceptions 221 checkException(RuntimeException.class, () -> new FileHandler()); 222 checkException(IllegalArgumentException.class, () -> new FileHandler("")); 223 checkException(NullPointerException.class, () -> new FileHandler(null)); 225 checkException(IllegalArgumentException.class, () -> new FileHandler("", true)); 226 checkException(IllegalArgumentException.class, () -> new FileHandler("", false)); 227 checkException(NullPointerException.class, () -> new FileHandler(null, true)); 228 checkException(NullPointerException.class, () -> new FileHandler(null, false)); 230 checkException(IllegalArgumentException.class, () -> new FileHandler("", 1, 1)); 231 checkException(IllegalArgumentExceptio [all...] |
H A D | FileHandlerLongLimit.java | 248 private static void checkException(Class<? extends Exception> type, FileHandlerSupplier test) { method in class:FileHandlerLongLimit 429 checkException(expectedException, () -> new FileHandler()); 430 checkException(expectedException, () -> { 435 checkException(expectedException, () -> testFileHandlerLimit( 438 checkException(expectedException, () -> testFileHandlerLimit(
|
/openjdk10/jdk/test/java/nio/channels/FileChannel/ |
H A D | MapTest.java | 199 checkException(fc, MapMode.READ_WRITE, 0L, fc.size(), 202 checkException(fc, MapMode.READ_WRITE, -1L, fc.size(), 205 checkException(fc, MapMode.READ_WRITE, 0L, -1L, 208 checkException(fc, MapMode.PRIVATE, 0L, fc.size(), 211 checkException(fc, MapMode.PRIVATE, -1L, fc.size(), 214 checkException(fc, MapMode.PRIVATE, 0L, -1L, 222 checkException(fc, MapMode.READ_ONLY, 0L, fc.size(), 225 checkException(fc, MapMode.READ_ONLY, -1L, fc.size(), 231 //checkException(fc, MapMode.READ_WRITE, 0L, fc.size(), 233 //checkException(f 277 private static void checkException(FileChannel fc, method in class:MapTest [all...] |
H A D | Truncate.java | 137 checkException(fc, 0L, NonWritableChannelException.class); 139 checkException(fc, -1L, NonWritableChannelException.class, 142 checkException(fc, size+1L, NonWritableChannelException.class); 147 checkException(fc, 0L, ClosedChannelException.class); 149 checkException(fc, -1L, ClosedChannelException.class, 152 checkException(fc, size+1L, ClosedChannelException.class); 160 checkException(fc, -1L, IllegalArgumentException.class); 165 checkException(fc, 0L, ClosedChannelException.class); 167 checkException(fc, -1L, ClosedChannelException.class, 170 checkException(f 178 private static void checkException(FileChannel fc, long size, Class<?>... expected) method in class:Truncate [all...] |
/openjdk10/jdk/test/tools/pack200/ |
H A D | TestExceptions.java | 82 ti.checkException(e); 110 ti.checkException(e); 143 ti.checkException(e); 177 ti.checkException(e); 210 ti.checkException(e); 264 void checkException(Throwable t) { method in class:TestExceptions.TestInput
|
/openjdk10/jdk/test/sun/security/provider/SecureRandom/AbstractDrbg/ |
H A D | SpecTest.java | 207 checkException(r, NoSuchAlgorithmException.class); 211 checkException(r, IllegalArgumentException.class); 215 checkException(r, UnsupportedOperationException.class); 219 checkException(r, NullPointerException.class); 226 static void checkException(RunnableWithException r, Class ex) method in class:SpecTest
|
/openjdk10/jdk/test/java/security/SecureRandom/ |
H A D | DrbgParametersSpec.java | 113 checkException(r, IllegalArgumentException.class); 117 checkException(r, NullPointerException.class); 124 static void checkException(RunnableWithException r, Class ex) method in class:DrbgParametersSpec
|
H A D | ApiTest.java | 135 checkException(getDefaultAlg(mech, alg), param, e); 172 private static void checkException(String alg, SecureRandomParameters param, method in class:ApiTest
|
/openjdk10/langtools/test/tools/javac/file/ |
H A D | SetLocationForModule.java | 81 checkException("unsupported for location", 209 checkException("empty arg list", 214 checkException("empty arg list", 219 checkException("not exist", 224 checkException("not exist", 243 checkException("create nested module", 283 void checkException(String message, method in class:SetLocationForModule
|
/openjdk10/jdk/test/jdk/security/jarsigner/ |
H A D | Spec.java | 212 checkException(r, UnsupportedOperationException.class); 216 checkException(r, NoSuchAlgorithmException.class); 220 checkException(r, NullPointerException.class); 224 checkException(r, IllegalArgumentException.class); 227 static void checkException(RunnableWithException r, Class ex) method in class:Spec
|
/openjdk10/jdk/test/java/util/Calendar/Builder/ |
H A D | BuilderTest.java | 238 checkException(calb, IllegalArgumentException.class); 240 checkException(calb, IllegalArgumentException.class); 242 checkException(calb, IllegalArgumentException.class); 272 private static void checkException(Calendar.Builder calb, Class<? extends Exception> exception) { method in class:BuilderTest
|
/openjdk10/jdk/test/javax/management/openmbean/ |
H A D | BadConstraintTest.java | 223 checkException(IllegalArgumentException.class, con, params); 229 checkException(OpenDataException.class, con, params); 232 private static void checkException(Class<? extends Exception> exc, method in class:BadConstraintTest
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | LWCToolkit.java | 638 checkException(invocationEvent); 652 checkException(invocationEvent); 662 private static void checkException(InvocationEvent event) throws InvocationTargetException { method in class:LWCToolkit
|
/openjdk10/test/lib/jdk/test/lib/ |
H A D | Utils.java | 608 * @param checkException a consumer which checks that we got expected exception and raises a new exception otherwise 610 public static void runAndCheckException(Runnable runnable, Consumer<Throwable> checkException) { argument 613 checkException.accept(null); 615 checkException.accept(t);
|