Searched defs:errorCount (Results 1 - 10 of 10) sorted by relevance

/openjdk7/langtools/test/tools/javac/api/
H A DTestEvalExpression.java40 static int errorCount = 0; field in class:TestEvalExpression
44 errorCount++;
68 if (errorCount != 0)
69 throw new AssertionError(errorCount);
75 if (errorCount == 0)
76 throw new AssertionError(errorCount);
/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DBug4396385.java34 private static int errorCount = 0; field in class:Bug4396385
59 if (errorCount > 0) {
60 throw new RuntimeException("Failed with " + errorCount + " error(s).");
73 errorCount++;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/
H A DDefaultValidationErrorHandler.java32 private int errorCount = 0; field in class:DefaultValidationErrorHandler
36 if (errorCount >= ERROR_COUNT_LIMIT) {
39 } else if (errorCount == 0) {
56 errorCount++;
/openjdk7/jdk/test/sun/util/calendar/
H A DBug6653944.java34 private static int errorCount = 0; field in class:Bug6653944
54 if (errorCount > 0) {
62 errorCount++;
69 errorCount++;
/openjdk7/jdk/test/sun/util/resources/TimeZone/
H A DIntlTest.java38 * errorCount field and may optionally print a message to the log.
105 int oldCount = errorCount;
121 writeTestResult(errorCount - oldCount);
124 writeTestResult(errorCount);
136 System.exit(errorCount);
158 errorCount++;
222 private int errorCount = 0; field in class:IntlTest
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/
H A DJavacMessager.java48 int errorCount = 0; field in class:JavacMessager
109 errorCount++;
166 return errorCount > 0;
169 public int errorCount() { method in class:JavacMessager
170 return errorCount;
179 errorCount = 0;
H A DJavacProcessingEnvironment.java936 int errorCount() { method in class:JavacProcessingEnvironment.Round
937 return compiler.errorCount();
1036 nMessagerErrors = messager.errorCount();
1203 || werror && round.warningCount() > 0 && round.errorCount() > 0)
1215 errorStatus = errorStatus || (compiler.errorCount() > 0);
1224 if (compiler.errorCount() == 0)
/openjdk7/jdk/test/java/util/Locale/
H A DLocaleTestFmwk.java73 * errorCount field and may optionally print a message to the log.
142 int oldCount = errorCount;
158 writeTestResult(errorCount - oldCount);
161 writeTestResult(errorCount);
174 System.exit(errorCount);
176 if (errorCount > 0) {
177 throw new IllegalArgumentException("encountered " + errorCount + " errors");
200 errorCount++;
265 private int errorCount = 0; field in class:LocaleTestFmwk
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DRBTestFmwk.java70 * errorCount field and may optionally print a message to the log.
137 int oldCount = errorCount;
149 errorCount++;
157 writeTestResult(errorCount - oldCount);
160 writeTestResult(errorCount);
171 System.exit(errorCount);
194 errorCount++;
258 private int errorCount = 0; field in class:RBTestFmwk
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavaCompiler.java529 return (errorCount() > 0 || unrecoverableError());
536 public int errorCount() { method in class:JavaCompiler
538 return delegateCompiler.errorCount();
712 if (gen.genClass(env, cdef) && (errorCount() == 0))
889 printCount("error", errorCount());
1185 if (errorCount() > 0 && !shouldStop(CompileState.ATTR)) {
1538 if (errorCount() == 0

Completed in 84 milliseconds