Searched defs:diagnostic (Results 26 - 38 of 38) sorted by relevance

12

/openjdk7/langtools/test/tools/javac/varargs/6199075/
H A DT6199075.java273 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 DT7042566.java334 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 DWarn4.java259 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 DWarn5.java304 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 DLog.java239 /** 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 DTreePosTest.java514 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 DClientCodeWrapper.java164 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 DTestClientCodeWrapper.java184 /** 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 DCheckAttributedTree.java526 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 DHandshaker.java265 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 DSSLEngineImpl.java1585 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 DSSLSocketImpl.java1835 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 DResolve.java485 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).

Completed in 922 milliseconds

12