changeset 70:b733d7c4526e

dump-stack-on-error: rebase
author jrose
date Thu, 26 Aug 2010 15:25:16 -0700
parents 76d6efbc30a4
children 8a875638e902
files dump-stack-on-error.patch
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dump-stack-on-error.patch	Wed Aug 25 22:18:45 2010 -0700
+++ b/dump-stack-on-error.patch	Thu Aug 26 15:25:16 2010 -0700
@@ -32,9 +32,9 @@
 @@ -161,8 +161,10 @@
           */
          public JCDiagnostic create(
-                 DiagnosticType kind, boolean isMandatory, DiagnosticSource source, DiagnosticPosition pos, String key, Object... args) {
+                 DiagnosticType kind, LintCategory lc, boolean isMandatory, DiagnosticSource source, DiagnosticPosition pos, String key, Object... args) {
 +            if (kind == ERROR && (errdumps++ == 0))  Thread.dumpStack();
-             return new JCDiagnostic(formatter, kind, isMandatory, source, pos, qualify(kind, key), args);
+             return new JCDiagnostic(formatter, kind, lc, isMandatory, source, pos, qualify(kind, key), args);
          }
 +        static int errdumps;