/openjdk10/langtools/test/tools/javac/6558548/ |
H A D | T6558548.java | 19 catch(java.io.FileNotFoundException exc) { } 20 catch(java.io.IOException exc) { } // 6: ok; latest: unreachable 27 catch(java.io.FileNotFoundException exc) { } 28 catch(java.io.IOException exc) { } //ok 35 catch(java.io.FileNotFoundException exc) { } 43 catch(java.io.FileNotFoundException exc) { } 51 catch(Exception exc) { } //ok 58 catch(Exception exc) { } //ok 65 catch(Throwable exc) { } //ok 72 catch(Throwable exc) { } //o [all...] |
/openjdk10/jdk/src/java.base/share/native/libfdlibm/ |
H A D | k_standard.c | 95 struct exception exc; local 106 exc.arg1 = x; 107 exc.arg2 = y; 111 exc.type = DOMAIN; 112 exc.name = "acos"; 113 exc.retval = zero; 116 else if (!matherr(&exc)) { 125 exc.type = DOMAIN; 126 exc.name = "asin"; 127 exc [all...] |
/openjdk10/langtools/test/tools/javac/diags/examples/ |
H A D | UnreachableCatch.java | 32 catch(java.io.FileNotFoundException exc) { } 33 catch(java.io.IOException exc) { } //unreachable
|
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/ |
H A D | CompletedFuture.java | 40 private final Throwable exc; field in class:CompletedFuture 42 private CompletedFuture(V result, Throwable exc) { argument 44 this.exc = exc; 51 static <V> CompletedFuture<V> withFailure(Throwable exc) { argument 53 if (!(exc instanceof IOException) && !(exc instanceof SecurityException)) 54 exc = new IOException(exc); 55 return new CompletedFuture<V>(null, exc); 58 withResult(V result, Throwable exc) argument [all...] |
H A D | PendingFuture.java | 46 private volatile Throwable exc; field in class:PendingFuture 153 exc = x; 180 if (exc != null) { 181 if (exc instanceof CancellationException) 183 throw new ExecutionException(exc); 197 if (exc != null) { 198 if (exc instanceof CancellationException) 200 throw new ExecutionException(exc); 206 return (exc instanceof CancellationException) ? null : exc; [all...] |
/openjdk10/jdk/test/java/util/TreeMap/ |
H A D | SubMap.java | 40 boolean exc = false; 44 exc = true; 46 if (!exc) 49 exc = false; 53 exc = true; 55 if (!exc) 70 exc = false; 74 exc = true; 76 if (!exc) 79 exc [all...] |
/openjdk10/jdk/test/java/nio/file/etc/ |
H A D | Exceptions.java | 54 FileSystemException exc; 55 exc = new FileSystemException(thisFile, otherFile, reason); 56 exc = (FileSystemException)deserialize(serialize(exc)); 57 if (!exc.getFile().equals(thisFile) || !exc.getOtherFile().equals(otherFile)) 65 FileSystemException exc = new FileSystemException(thisFile, otherFile, reason); 66 if (!Objects.equals(thisFile, exc.getFile())) 68 if (!Objects.equals(otherFile, exc.getOtherFile())) 70 if (!Objects.equals(reason, exc [all...] |
/openjdk10/jdk/test/com/sun/jdi/ |
H A D | InnerTarg.java | 41 } catch (Exception exc) { 42 System.out.println("Loading class got " + exc);
|
H A D | ExpiredRequestDeletionTest.java | 84 } catch (Throwable exc) { 85 throwable = exc; 86 failure("Deleting BreakpointRequest threw - " + exc); 99 } catch (Throwable exc) { 100 throwable = exc; 101 failure("Deleting StepRequest threw - " + exc);
|
/openjdk10/nashorn/test/script/trusted/ |
H A D | classfilter_mozilla_compat.js | 42 } catch (exc) { 43 print(exc.message)
|
H A D | classfilter_extends.js | 41 } catch (exc) { 42 print(exc.message)
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/ |
H A D | SimpleFileVisitor.java | 87 public FileVisitResult visitFileFailed(T file, IOException exc) argument 91 throw exc; 104 public FileVisitResult postVisitDirectory(T dir, IOException exc) argument 108 if (exc != null) 109 throw exc;
|
H A D | FileVisitor.java | 145 * @param exc 153 FileVisitResult visitFileFailed(T file, IOException exc) argument 165 * @param exc 175 FileVisitResult postVisitDirectory(T dir, IOException exc) argument
|
/openjdk10/jdk/test/java/nio/channels/Pipe/ |
H A D | PipeInterrupt.java | 37 private Exception exc = null; field in class:PipeInterrupt 58 exc = new RuntimeException("interrupt status reset"); 62 exc = ioe; 80 if (exc != null) 81 throw exc;
|
/openjdk10/jdk/test/java/util/Locale/ |
H A D | bug6312358.java | 51 } catch (InvocationTargetException exc) { 52 Throwable cause = exc.getCause(); 62 } catch (InvocationTargetException exc) { 63 Throwable cause = exc.getCause(); 73 } catch (InvocationTargetException exc) { 74 Throwable cause = exc.getCause(); 79 } catch (java.lang.NoSuchMethodException exc) {
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | ProgressMonitorInputStream.java | 114 InterruptedIOException exc = 116 exc.bytesTransferred = nread; 117 throw exc; 131 InterruptedIOException exc = 133 exc.bytesTransferred = nread; 134 throw exc; 150 InterruptedIOException exc = 152 exc.bytesTransferred = nread; 153 throw exc;
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/ |
H A D | CompletionHandler.java | 60 * @param exc 65 void failed(Throwable exc, A attachment); argument
|
/openjdk10/jdk/test/java/security/Security/ClassLoaderDeadlock/ |
H A D | Deadlock.java | 31 private volatile Exception exc; field in class:Deadlock 39 this.exc = e; 54 if (d.exc != null) { 55 throw d.exc;
|
/openjdk10/jdk/test/java/net/Socket/ |
H A D | RST.java | 52 SocketException exc = null; 62 exc = se; 68 if (exc == null) { 71 if (exc.getMessage().toLowerCase().indexOf("reset") == -1) {
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/corba/ |
H A D | EnvironmentImpl.java | 51 public void exception(Exception exc) argument 53 _exc = exc;
|
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/event/ |
H A D | NamingExceptionEvent.java | 58 * @param exc The non-null {@code NamingException} that was thrown. 61 public NamingExceptionEvent(EventContext source, NamingException exc) { argument 63 exception = exc;
|
/openjdk10/jdk/test/javax/net/ssl/FixingJavadocs/ |
H A D | SSLSocketInherit.java | 67 Exception exc = null; 107 exc = new Exception("problem with get/setEnabledCipherSuites()"); 114 exc = new Exception("problem with get/setEnabledProtocols()"); 118 exc = new Exception("problem with get/setNeedClientAuth()"); 122 exc = new Exception("problem with get/setUseClientMode()"); 127 if (exc != null) { 128 throw exc; 153 exc = new Exception("problem with get/setEnabledCipherSuites()"); 160 exc = new Exception("problem with get/setEnabledProtocols()"); 164 exc [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | AbstractSequentialList.java | 89 } catch (NoSuchElementException exc) { 119 } catch (NoSuchElementException exc) { 147 } catch (NoSuchElementException exc) { 175 } catch (NoSuchElementException exc) { 221 } catch (NoSuchElementException exc) {
|
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/ |
H A D | ThreadReferenceImpl.java | 191 } catch (JDWPException exc) { 192 throw exc.toJDIException(); 212 } catch (JDWPException exc) { 213 throw exc.toJDIException(); 237 } catch (JDWPException exc) { 238 throw exc.toJDIException(); 252 } catch (JDWPException exc) { 253 throw exc.toJDIException(); 270 } catch (JDWPException exc) { 271 throw exc [all...] |
H A D | StringReferenceImpl.java | 48 } catch (JDWPException exc) { 49 throw exc.toJDIException();
|