Searched refs:diagnostic (Results 1 - 25 of 55) sorted by relevance

123

/openjdk7/langtools/src/share/classes/javax/tools/
H A DDiagnosticListener.java42 * @param diagnostic a diagnostic representing the problem that
44 * @throws NullPointerException if the diagnostic argument is
48 void report(Diagnostic<? extends S> diagnostic); argument
H A DDiagnosticCollector.java45 public void report(Diagnostic<? extends S> diagnostic) { argument
46 diagnostic.getClass(); // null check
47 diagnostics.add(diagnostic);
/openjdk7/hotspot/src/share/vm/shark/
H A Dshark_globals.hpp34 #define SHARK_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
47 diagnostic(ccstr, SharkPrintBitcodeOf, NULL, \
50 diagnostic(ccstr, SharkPrintAsmOf, NULL, \
56 diagnostic(bool, SharkTraceInstalls, false, \
59 diagnostic(bool, SharkPerformanceWarnings, false, \
/openjdk7/hotspot/src/os/windows/vm/
H A Dglobals_windows.hpp32 diagnostic, notproduct) \
/openjdk7/hotspot/src/os/bsd/vm/
H A Dglobals_bsd.hpp31 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
/openjdk7/hotspot/src/os/linux/vm/
H A Dglobals_linux.hpp31 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
/openjdk7/hotspot/src/os/solaris/vm/
H A Dglobals_solaris.hpp31 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
/openjdk7/hotspot/src/share/vm/opto/
H A Dc2_globals.hpp55 #define C2_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct) \
202 diagnostic(bool, LoopLimitCheck, true, \
208 diagnostic(bool, RangeLimitCheck, true, \
214 diagnostic(bool, UnrollLimitCheck, true, \
433 diagnostic(bool, PrintPreciseBiasedLockingStatistics, false, \
439 diagnostic(bool, EliminateAutoBox, false, \
487 diagnostic(intx, DominatorSearchLimit, 1000, \
547 diagnostic(bool, TraceTypeProfile, false, \
568 diagnostic(bool, PrintIntrinsics, false, \
571 diagnostic(ccstrlis
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DdiagnosticFramework.cpp93 "Format error in diagnostic command arguments", false);
124 "Format error in diagnostic command arguments", false);
208 jio_snprintf(buf, buflen - 1, "Unknown argument '%s' in diagnostic command.", argbuf);
455 "Unknown diagnostic command");
468 "Unknown diagnostic command");
/openjdk7/langtools/test/tools/javac/api/6437999/
H A DT6437999.java43 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
44 error |= diagnostic.getKind() == Diagnostic.Kind.ERROR;
45 System.out.println(diagnostic);
/openjdk7/langtools/test/tools/javac/api/guide/
H A DTest.java44 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
45 if (diagnostic.getKind() == Diagnostic.Kind.NOTE) {
49 diagnostic.getSource().openReader(true).getClass();
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1_globals.hpp33 #define G1_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw) \
59 diagnostic(bool, G1SummarizeConcMark, false, \
62 diagnostic(bool, G1SummarizeRSetStats, false, \
65 diagnostic(intx, G1SummarizeRSetStatsPeriod, 0, \
71 diagnostic(bool, G1TraceConcRefinement, false, \
129 diagnostic(bool, G1PrintRegionLivenessInfo, false, \
220 diagnostic(bool, G1PrintHeapRegions, false, \
/openjdk7/hotspot/src/share/vm/runtime/
H A Dglobals.hpp390 // diagnostic information about VM problems. To use a VM diagnostic
406 // Nota bene: neither diagnostic nor experimental options should be used casually,
439 #define RUNTIME_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, lp64_product) \
451 diagnostic(bool, PrintCompressedOopsMode, false, \
477 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \
584 diagnostic(bool, ForceUnreachable, false, \
712 diagnostic(bool, LogEvents, true, \
715 diagnostic(intx, LogEventsBufferEntries, 10, \
797 diagnostic(boo
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A Dglobals_zero.hpp64 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct)
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DUnusedResourcesTest.java237 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
238 if (diagnostic.getKind() == Diagnostic.Kind.WARNING &&
239 diagnostic.getCode().contains("try.resource.not.referenced")) {
240 String varName = unwrap(diagnostic).getArgs()[0].toString();
251 private JCDiagnostic unwrap(Diagnostic<? extends JavaFileObject> diagnostic) { argument
252 if (diagnostic instanceof JCDiagnostic)
253 return (JCDiagnostic) diagnostic;
254 if (diagnostic instanceof ClientCodeWrapper.DiagnosticSourceUnwrapper)
255 return ((ClientCodeWrapper.DiagnosticSourceUnwrapper)diagnostic).d;
/openjdk7/langtools/test/tools/javac/processing/errors/
H A DTestSuppression.java173 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
175 + "resolveError:" + isResolveError(unwrap(diagnostic)) + "\n"
176 + diagnostic);
177 Diagnostic.Kind dk = diagnostic.getKind();
186 private JCDiagnostic unwrap(Diagnostic<? extends JavaFileObject> diagnostic) { argument
187 if (diagnostic instanceof JCDiagnostic)
188 return (JCDiagnostic) diagnostic;
189 if (diagnostic instanceof ClientCodeWrapper.DiagnosticSourceUnwrapper)
190 return ((ClientCodeWrapper.DiagnosticSourceUnwrapper)diagnostic).d;
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dglobals_x86.hpp82 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
99 diagnostic(bool, UseIncDec, true, \
/openjdk7/langtools/test/tools/javac/6863465/
H A DTestCircularClassfile.java116 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
117 if (diagnostic.getKind() == Diagnostic.Kind.ERROR &&
118 diagnostic.getCode().equals("compiler.err.cyclic.inheritance")) {
/openjdk7/langtools/test/tools/javac/7142086/
H A DT7142086.java109 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
110 if (diagnostic.getKind() == Diagnostic.Kind.ERROR) {
111 throw new AssertionError("unexpected diagnostic: " + diagnostic.getMessage(Locale.getDefault()));
/openjdk7/langtools/test/tools/javac/annotations/6550655/
H A DT6550655.java106 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
108 if (!diagnostic.getCode().equals(keyToIgnore) &&
109 !diagnostic.getCode().equals(expectedCode)) {
110 error("Unexpected diagnostic" +
111 "\nfound " + diagnostic.getCode() +
/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/varargs/warning/
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/test/tools/javac/multicatch/7030606/
H A DDisjunctiveTypeWellFormednessTest.java198 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
199 if (diagnostic.getKind() == Diagnostic.Kind.ERROR &&
200 diagnostic.getCode().startsWith("compiler.err.multicatch.types.must.be.disjoint")) {
/openjdk7/langtools/test/tools/javac/varargs/7043922/
H A DT7043922.java173 public void report(Diagnostic<? extends JavaFileObject> diagnostic) { argument
174 if (diagnostic.getKind() == Diagnostic.Kind.ERROR) {
175 errDiags = errDiags.append(diagnostic.getMessage(Locale.getDefault()));
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/util/
H A DBark.java111 * Report a diagnostic if they are not currently being ignored.
114 public void report(JCDiagnostic diagnostic) { argument
118 super.report(diagnostic);

Completed in 164 milliseconds

123