/openjdk7/langtools/test/tools/javac/varargs/6199075/ |
H A D | T6199075.java | 273 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 274 if (diagnostic.getKind() == Diagnostic.Kind.ERROR) { 275 errDiags = errDiags.append(diagnostic.getMessage(Locale.getDefault()));
|
/openjdk7/langtools/test/tools/javac/varargs/7042566/ |
H A D | T7042566.java | 334 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 335 if (diagnostic.getKind() == Diagnostic.Kind.ERROR) { 336 errDiags = errDiags.append(diagnostic.getMessage(Locale.getDefault()));
|
/openjdk7/langtools/test/tools/javac/varargs/warning/ |
H A D | Warn4.java | 259 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 260 if (diagnostic.getKind() == Diagnostic.Kind.MANDATORY_WARNING || 261 diagnostic.getKind() == Diagnostic.Kind.WARNING) { 262 if (diagnostic.getCode().contains(Warning.VARARGS.key)) { 264 } else if(diagnostic.getCode().contains(Warning.UNCHECKED.key)) {
|
H A D | Warn5.java | 304 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 305 if (diagnostic.getKind() == Diagnostic.Kind.WARNING) { 306 if (diagnostic.getCode().contains("unsafe.use.varargs.param")) { 308 } else if (diagnostic.getCode().contains("redundant.trustme")) { 311 } else if (diagnostic.getKind() == Diagnostic.Kind.MANDATORY_WARNING && 312 diagnostic.getCode().contains("varargs.non.reifiable.type")) { 314 } else if (diagnostic.getKind() == Diagnostic.Kind.ERROR && 315 diagnostic.getCode().contains("invalid.trustme")) {
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Log.java | 239 /** Get the current diagnostic formatter. 245 /** Set the current diagnostic formatter. 378 * Common diagnostic handling. 379 * The diagnostic is counted, and depending on the options and how many diagnostics have been 380 * reported so far, the diagnostic may be handed off to writeDiagnostic. 382 public void report(JCDiagnostic diagnostic) { argument 384 deferredDiagnostics.add(diagnostic); 389 expectDiagKeys.remove(diagnostic.getCode()); 391 switch (diagnostic.getType()) { 399 if ((emitWarnings || diagnostic [all...] |
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | TreePosTest.java | 514 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 515 out.println(diagnostic); 516 switch (diagnostic.getKind()) {
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | ClientCodeWrapper.java | 164 private <T> Diagnostic<T> unwrap(final Diagnostic<T> diagnostic) { argument 165 if (diagnostic instanceof JCDiagnostic) { 166 JCDiagnostic d = (JCDiagnostic) diagnostic; 169 return diagnostic; 557 public void report(Diagnostic<? extends T> diagnostic) { argument 559 clientDiagnosticListener.report(unwrap(diagnostic));
|
/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestClientCodeWrapper.java | 184 /** Get a diagnostic listener to use for the test compilation. */ 574 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 576 out.println("report: " + diagnostic);
|
/openjdk7/langtools/test/tools/javac/failover/ |
H A D | CheckAttributedTree.java | 526 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument 527 out.println(diagnostic); 528 switch (diagnostic.getKind()) {
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | Handshaker.java | 265 void fatalSE(byte b, String diagnostic) throws IOException { argument 266 fatalSE(b, diagnostic, null); 273 void fatalSE(byte b, String diagnostic, Throwable cause) argument 276 conn.fatal(b, diagnostic, cause); 278 engine.fatal(b, diagnostic, cause);
|
H A D | SSLEngineImpl.java | 1585 synchronized void fatal(byte description, String diagnostic) argument 1587 fatal(description, diagnostic, null); 1608 synchronized void fatal(byte description, String diagnostic, argument 1615 if (diagnostic == null) { 1616 diagnostic = "General SSLEngine problem"; 1619 cause = Alerts.getSSLException(description, cause, diagnostic); 1651 ": " + diagnostic + "\n" + cause.toString()); 1684 Alerts.getSSLException(description, cause, diagnostic);
|
H A D | SSLSocketImpl.java | 1835 synchronized void fatal(byte description, String diagnostic) argument 1837 fatal(description, diagnostic, null); 1849 synchronized void fatal(byte description, String diagnostic, argument 1885 Alerts.getSSLException(description, cause, diagnostic);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | Resolve.java | 485 JCDiagnostic diagnostic; field in class:Resolve.InapplicableMethodException 489 this.diagnostic = null; 493 this.diagnostic = null; 497 this.diagnostic = key != null ? diags.fragment(key) : null; 501 this.diagnostic = key != null ? diags.fragment(key, args) : null; 505 this.diagnostic = diag; 510 return diagnostic; 1882 * Create a diagnostic representing this resolution error. 1884 * @param dkind The kind of the diagnostic to be created (e.g error).
|