Searched refs:error (Results 126 - 150 of 1265) sorted by relevance

1234567891011>>

/openjdk10/jdk/make/src/classes/build/tools/jdwpgen/
H A DArrayRegionTypeNode.java43 error("Not implemented");
H A DNameNode.java44 error("Valueless Name asked for value");
/openjdk10/jdk/test/com/sun/net/httpserver/bugs/
H A DB6526913.java67 if (error) {
72 public static boolean error = false; field in class:B6526913
85 error = true;
100 error = true;
/openjdk10/jdk/test/java/awt/FullScreen/8013581/
H A Dbug8013581.java51 Exception error = null;
68 error = new Exception("Test failed: KeyListener called " + listenerCallCounter + " times instead of 2!");
77 if (error != null) {
78 throw error;
/openjdk10/langtools/test/tools/javac/boxing/
H A DT6614974.java34 public void error() { method in class:T6614974
/openjdk10/langtools/test/tools/javap/
H A DWhitespaceTest.java59 error("line has trailing whitespace: " + line);
64 error("no space before comment: " + line);
67 error("bad indentation: " + line);
82 void error(String msg) { method in class:WhitespaceTest
H A DT6866657.java58 error("Can't find " + className);
67 error("Exception: " + e);
73 error("bad value found: " + found + " expected: " + expected);
76 void error(String msg) { method in class:T6866657
H A DT7186925.java54 error("Can't find " + className);
63 error("Exception: " + ee);
71 error("bad value found: " + found + " expected: " + expected);
74 void error(String msg) { method in class:T7186925
/openjdk10/langtools/test/tools/javah/
H A DTestHelpOpts.java67 error("Unexpected exit: rc=" + rc);
71 error("expected text not found");
73 error("key not found in resource bundle: " + flat.replaceAll(".*(main.opt.[^ ]*).*", "$1"));
76 void error(String msg) { method in class:TestHelpOpts
/openjdk10/nashorn/samples/
H A Dconsoleuse.js48 console.error("Big error: %s!", "you revealed your password!");
/openjdk10/jdk/test/javax/management/mxbean/
H A DMBeanOperationInfoTest.java54 int error = 0;
82 error++;
87 if (error > 0) {
89 throw new Exception("TEST FAILED: " + error + " wrong return types");
/openjdk10/jdk/test/javax/management/remote/mandatory/connection/
H A DCloseableTest.java57 static int error; field in class:CloseableTest
64 error++;
89 if (error > 0) {
90 final String msg = "\nTest FAILED! Got " + error + " error(s)";
/openjdk10/hotspot/src/share/vm/classfile/
H A DresolutionErrors.cpp36 Symbol* error, Symbol* message)
39 assert(!pool.is_null() && error != NULL, "adding NULL obj");
41 ResolutionErrorEntry* entry = new_entry(hash, pool(), cp_index, error, message);
73 // create new error entry
75 int cp_index, Symbol* error,
80 entry->set_error(error);
87 // decrement error refcount
88 assert(entry->error() != NULL, "error should be set");
89 entry->error()
34 add_entry(int index, unsigned int hash, const constantPoolHandle& pool, int cp_index, Symbol* error, Symbol* message) argument
74 new_entry(int hash, ConstantPool* pool, int cp_index, Symbol* error, Symbol* message) argument
[all...]
/openjdk10/hotspot/src/share/vm/compiler/
H A DdirectivesParser.cpp196 error(KEY_ERROR, "No such key: '%s'.", s);
211 error(INTERNAL_ERROR, "Stack depth exceeded.");
218 error(KEY_ERROR, "Key '%s' not allowed at top level.", k->name);
225 error(KEY_ERROR, "Key '%s' not allowed after '%s' key.", k->name, prev->name);
246 error(INTERNAL_ERROR, "Popping empty stack.");
267 error(VALUE_ERROR, "Cannot use bool value for an %s flag", flag_type_names[option_key->flag_type]);
277 error(VALUE_ERROR, "Cannot use bool value for an %s flag", flag_type_names[option_key->flag_type]);
296 error(VALUE_ERROR, "Cannot use int value for an %s flag", flag_type_names[option_key->flag_type]);
303 error(VALUE_ERROR, "Cannot use double value for an %s flag", flag_type_names[option_key->flag_type]);
313 error(VALUE_ERRO
[all...]
/openjdk10/jdk/src/java.base/windows/native/libnio/ch/
H A DWindowsAsynchronousFileChannelImpl.c55 int error = GetLastError(); local
56 if (error == ERROR_IO_PENDING)
58 if (error == ERROR_HANDLE_EOF)
85 int error = GetLastError(); local
86 if (error == ERROR_IO_PENDING)
114 int error = GetLastError(); local
115 if (error == ERROR_IO_PENDING) {
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DW83.java79 StringBuffer error = new StringBuffer();
84 error.append("Krb5LoginModule password login error\n");
90 error.append("Krb5LoginModule keytab login error\n");
107 error.append("kinit password login error\n");
116 error.append("kinit keytab login error\n");
122 if (error
[all...]
/openjdk10/langtools/test/tools/javac/processing/6499119/
H A DClassProcessor.java66 error("did not find @foo.A");
87 error("Couldn't read package info file: " + ioe);
93 error("InputStream closing failed: " + e);
106 error("Couldn't create package info file: " + ioe);
112 error("OutputStream closing failed: " + e);
120 error("Unexpected value for " + label + "; actual=" + actual + ", expected=" + expect);
124 private void error(String msg) { method in class:ClassProcessor
/openjdk10/jdk/test/javax/management/query/
H A DQueryMatchTest.java470 int error = 0;
491 error++;
495 return error;
500 int error = 0;
507 error += query(mbs, (String) tests[i][0], (String[][]) tests[i][1]);
510 if (error > 0) {
511 System.out.println("\nTest failed! " + error + " errors.\n");
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/javac/
H A DMain.java58 * The stream where error message are printed.
80 public static final int EXIT_SYSERR = 3; // System error or resource exhaustion.
108 * Top level error message. This method is called when the
111 private void error(String msg) { method in class:Main
116 private void error(String msg, String arg1) { method in class:Main
121 private void error(String msg, String arg1, String arg2) { method in class:Main
127 * Print usage message and make exit status an error.
129 * be an error.
132 error("main.usage", program);
230 error("java
[all...]
/openjdk10/jdk/test/java/util/ResourceBundle/Control/
H A DControlFactoryTest.java63 throw new RuntimeException("FAILED: " + errors + " error(s)");
85 error("getControl: %s%n", fmt);
93 error("%s: doesn't throw NPE.%n", factory.name());
105 error("%s: returns %s, expected %s.%n",
115 error("%s: doesn't return the singleton: got %s, expected %s%n",
127 error("%s: getFallbackLocale doesn't return default locale. got %s, expected %s%n",
132 error("%s: getFallbackLocale doesn't return null. got %s%n",
139 error("%s: getFallbackLocale doesn't return null. got %s%n",
144 error("%s: getFallbackLocale doesn't return null. got %s%n",
156 private static void error(Strin method in class:ControlFactoryTest
161 private static void error(String fmt, Object... args) { method in class:ControlFactoryTest
[all...]
/openjdk10/jdk/test/com/sun/net/httpserver/
H A DTest8.java69 if (error) {
70 throw new RuntimeException ("test failed error");
79 public static boolean error = false; field in class:Test8
93 error = true;
99 error = true;
102 error = true;
/openjdk10/jdk/test/java/util/Calendar/
H A DBug5078053.java59 error("roll(MONTH, +1): " + cal.getMessage());
63 error("roll(MONTH, -1): " + cal.getMessage());
76 error("add(MONTH, +1): " + cal.getMessage());
80 error("add(MONTH, -1): " + cal.getMessage());
90 static void error(String s) { method in class:Bug5078053
97 throw new RuntimeException("Failed: " + errorCount + " error(s)");
/openjdk10/jdk/test/java/util/Locale/
H A DBug8040211.java68 boolean error = false;
117 error = true;
121 if (error) {
132 boolean error = false;
138 error = true;
158 error = true;
167 return !error;
171 boolean error = false;
184 error = true;
199 error
[all...]
/openjdk10/langtools/test/tools/javac/api/file/
H A DSJFM_GetFileObjects.java76 error("expected exception not thrown");
80 error("unexpected exception thrown: " + e);
109 error("expected exception not thrown: " + IllegalArgumentException.class.getName());
113 error("unexpected exception thrown: " + e);
135 error(name + ": compilation failed");
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/util/
H A DAbstractLog.java42 * A base class for error logs. Reports errors and warnings, and
43 * keeps track of error numbers and positions.
93 /** Report an error, unless another error was already reported at same
95 * @param key The key for the localized error message.
96 * @param args Fields of the error message.
98 public void error(String key, Object ... args) { method in class:AbstractLog
99 error(diags.errorKey(key, args));
102 /** Report an error, unless another error wa
106 public void error(Error errorKey) { method in class:AbstractLog
116 public void error(DiagnosticPosition pos, String key, Object... args) { method in class:AbstractLog
125 public void error(DiagnosticPosition pos, Error errorKey) { method in class:AbstractLog
136 public void error(DiagnosticFlag flag, DiagnosticPosition pos, String key, Object ... args) { method in class:AbstractLog
146 public void error(DiagnosticFlag flag, DiagnosticPosition pos, Error errorKey) { method in class:AbstractLog
156 public void error(int pos, String key, Object ... args) { method in class:AbstractLog
165 public void error(int pos, Error errorKey) { method in class:AbstractLog
176 public void error(DiagnosticFlag flag, int pos, String key, Object ... args) { method in class:AbstractLog
186 public void error(DiagnosticFlag flag, int pos, Error errorKey) { method in class:AbstractLog
[all...]

Completed in 282 milliseconds

1234567891011>>