/openjdk10/langtools/test/tools/javac/api/ |
H A D | T6306137.java | 46 boolean error; field in class:T6306137 57 error = true; 80 error = false; 83 if (error == good) { 84 if (error) { 87 throw new AssertionError("No error reported");
|
H A D | TestTrees.java | 73 error(d.toString()); 120 error("bad result from getTree"); 124 error("getPath returned null"); 128 error("bad result from getPath"); 132 error("getElement returned null"); 136 error("bad result from getElement"); 143 error("bad result from getTypeMirror"); 155 error("bad result from getTree"); 159 error("bad result from getPath"); 171 error("nul 192 void error(String msg) { method in class:TestTrees [all...] |
/openjdk10/make/common/ |
H A D | TextFileProcessing.gmk | 27 $(error You must include MakeBase.gmk prior to including TextFileProcessing.gmk) 85 $$(error Cannot use both SOURCE_FILES and SOURCE_DIRS (in $1)) 88 $$(error Cannot use SOURCE_BASE_DIR without SOURCE_DIRS (in $1)) 91 $$(error Cannot INCLUDE/EXCLUDE_FILES with SOURCE_FILES (in $1)) 95 $$(error Must specify either SOURCE_FILES or SOURCE_DIRS (in $1)) 99 $$(error SOURCE_DIRS contains missing directory $$(src) (in $1)))) 103 $$(error SOURCE_DIRS contains directory $$(src) outside \ 128 $$(error No suitable sed separator can be found for $1. Tested /, @, | and !) 197 $$(error Cannot use OUTPUT_FILE for more than one source file (in $1)) 205 $$(error Neithe [all...] |
/openjdk10/jdk/test/javax/management/Introspector/ |
H A D | GetMBeanInfoExceptionTest.java | 88 int error = 0; 103 error++; 118 error++; 123 error++; 126 if (error > 0) {
|
/openjdk10/langtools/test/tools/javac/MethodParameters/ |
H A D | ReflectionVisitor.java | 36 public void error(String msg) { method in class:ReflectionVisitor 37 super.error("reflection: " + msg); 98 error(prefix + "number of parameter types (" + paramTypes 108 error(prefix + "enum constuctor, two arguments expected"); 111 error(prefix + "class constuctor,expected implicit argument"); 180 error(prefix + "param[" + i + "]='" + pname + 186 error(prefix + "param[" + i + "]='" + pname + 192 error(prefix + "param[" + i + "]='" + pname + 197 error(prefix + "param[" + i + "]='" + pname + 203 error(prefi [all...] |
/openjdk10/jdk/test/java/util/Locale/ |
H A D | Bug8159420.java | 114 boolean error = false; 126 error = true; 132 error = true; 135 if (error) { 172 boolean error = false; 174 return !error; 180 error = true; 187 error = true; 190 return !error;
|
/openjdk10/jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/ |
H A D | Policy.java | 81 error(entry); 87 error(entry); 93 error(entry); 99 error(entry); 109 error(entry); 116 error(entry); 122 error(entry); 127 error(entry); 192 private static void error(String entry) { method in class:Policy
|
/openjdk10/nashorn/buildtools/nasgen/src/jdk/nashorn/internal/tools/nasgen/ |
H A D | Main.java | 51 public void error(String msg); method in interface:Main.ErrorReporter 63 public void error(final String msg) { 64 Main.error(msg, 1); 70 error("Usage: nasgen <input-dir> <package-list> <output-dir>", 1); 77 reporter.error(in + " does not exist or not a directory"); 83 reporter.error(out + " does not exist or not a directory"); 116 reporter.error(e.getMessage()); 172 reporter.error(e.getMessage()); 183 private static void error(final String msg, final int exitCode) { method in class:Main
|
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libjdwp/ |
H A D | eventHandler.c | 331 jvmtiError error; local 334 error = methodLocation(method, &start, &end); 335 if (error == JVMTI_ERROR_NONE) { 733 jvmtiError error; local 738 error = methodClass(method, &clazz); 739 if ( error != JVMTI_ERROR_NONE ) { 740 EXIT_ERROR(error,"Can't get jclass for a methodID, invalid?"); 1064 jvmtiError error; local 1076 error = JVMTI_FUNC_PTR(gdata->jvmti,GetFrameLocation) 1078 if (error 1097 jvmtiError error; local 1131 jvmtiError error; local 1173 jvmtiError error; local 1230 jvmtiError error; local 1308 jvmtiError error = JVMTI_ERROR_NONE; local 1331 jvmtiError error; local 1355 jvmtiError error; local 1373 jvmtiError error = JVMTI_ERROR_NONE; local 1417 jvmtiError error; local 1435 jvmtiError error; local 1619 jvmtiError error; local 1646 jvmtiError error = JVMTI_ERROR_NONE; local [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/generics/parser/ |
H A D | SignatureParser.java | 56 // if (current != x {error("expected an x"); 64 // invalid, the parser should flag an error in accordance 118 // Error handling routine. Encapsulates error handling. 119 // Takes a string error message as argument. 122 private Error error(String errorMsg) { method in class:SignatureParser 123 return new GenericSignatureFormatError("Signature Parse error: " + errorMsg + 133 throw error("Failure to make progress!"); 232 if (current() != '<') { throw error("expected '<'");} 290 throw error("Array signature not allowed here."); 291 default: throw error("Expecte [all...] |
/openjdk10/jdk/src/java.base/unix/native/jspawnhelper/ |
H A D | jspawnhelper.c | 42 error (fdout, ERR_MALLOC); \ 51 void error (int fd, int err) { function 82 error (fdout, ERR_PIPE); 86 error (fdout, ERR_PIPE); 90 error (fdout, ERR_PIPE); 99 error (fdout, ERR_PIPE);
|
/openjdk10/jdk/src/jdk.jartool/share/classes/sun/tools/jar/ |
H A D | Validator.java | 91 error(formatMsg("error.validator.bad.entry.name", e.getMessage())); 176 error(formatMsg("error.validator.version.notnumber", entryName)); 184 error(formatMsg("error.validator.version.notnumber", entryName)); 189 error(formatMsg("error.validator.entryname.tooshort", entryName)); 215 error(x.getMessage()); 230 error(formatMs 455 private void error(String msg) { method in class:Validator [all...] |
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ |
H A D | PushGroup.java | 41 volatile Throwable error; // any exception that occured during pushes field in class:PushGroup 145 Log.logTrace("PushGroup remainingPushes={0} error={1} noMorePushes={2}", 147 (error==null)?error:error.getClass().getSimpleName(), 150 if (remainingPushes == 0 && error == null && noMorePushes) { 162 this.error = t;
|
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/java/ |
H A D | Scanner.java | 45 * counter part. This is useful during error recovery.<p> 279 env.error(pos, "eof.in.comment"); 417 env.error(pos, "eof.in.comment"); 534 // We can't yet throw an error if reading an octal. We might 579 // letter, then read in a hexadecimal number. Otherwise, error. 585 // we'll get an illegal character error 602 env.error(in.pos, "invalid.number"); 611 env.error(pos, "invalid.octal.number"); 616 env.error(pos, "invalid.hex.number"); 628 // Give a specific error messag [all...] |
/openjdk10/langtools/test/tools/javap/ |
H A D | MethodParameters.java | 116 error("Bad output for zero-parameter constructor. Expected\n" + 119 error("Bad output for one-parameter constructor. Expected\n" + 122 error("Bad output for zero-parameter method. Expected\n" + 125 error("Bad output for two-parameter method Expected\n" + 155 error("compilation failed, rc=" + rc); 168 void error(String msg) { method in class:MethodParameters
|
/openjdk10/langtools/test/tools/javac/tree/ |
H A D | JavacTreeScannerTest.java | 101 error(sourcefile, "differences found"); 104 error("Size mismatch; found: " + found.size() + ", expected: " + expect.size()); 110 error(sourcefile, t, "missing"); 116 error(sourcefile, t, "unexpected"); 144 error(e.toString()); 152 error("unexpected item: " + o);
|
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/ |
H A D | Iocp.java | 291 public void failed(int error, IOException ioe); argument 294 // Creates IOException for the given I/O error. 295 private static IOException translateErrorToIOException(int error) { argument 296 String msg = getErrorMessage(error); 298 msg = "Unknown error: 0x0" + Integer.toHexString(error); 320 // A error here is fatal (thread will not be replaced) 341 // (if error/exception then replace thread) 383 int error = ioResult.error(); 406 private int error; field in class:Iocp.CompletionStatus 412 int error() { return error; } method in class:Iocp.CompletionStatus 433 getErrorMessage(int error) argument [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | ECMAErrors.java | 36 * Helper class to throw various standard "ECMA error" exceptions such as Error, ReferenceError, TypeError etc. 56 private static ECMAException error(final Object thrown, final Throwable cause) { method in class:ECMAErrors 62 * Create a {@link ParserException} as the correct JavaScript error 64 * @param e {@code ParserException} for error dispatcher 74 * Create a {@link ParserException} as the correct JavaScript error 77 * @param e {@code ParserException} for error dispatcher 83 assert errorType != null : "error type for " + e + " was null"; 88 // translate to ECMAScript Error object using error type 91 return error(globalObj.newError(msg), e); 93 return error(globalOb [all...] |
/openjdk10/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotificationEmissionTest.java | 173 int error = 0; 174 error += testNotificationEmissionProperty(true, new Boolean(false)); 175 error += testNotificationEmissionProperty(true, new Boolean(true)); 176 error += testNotificationEmissionProperty(true, "dummy"); 177 error += testNotificationEmissionProperty(false, "false"); 178 error += testNotificationEmissionProperty(false, "true"); 179 error += testNotificationEmissionProperty(false, "FALSE"); 180 error += testNotificationEmissionProperty(false, "TRUE"); 181 return error; 351 int error [all...] |
/openjdk10/jdk/src/java.base/windows/native/libnio/ch/ |
H A D | WindowsAsynchronousSocketChannelImpl.c | 107 int error = GetLastError(); local 108 if (error == ERROR_IO_PENDING) { 167 int error = WSAGetLastError(); local 168 if (error == WSA_IO_PENDING) { 171 if (error == WSAESHUTDOWN) { 199 int error = WSAGetLastError(); local 200 if (error == WSA_IO_PENDING) { 203 if (error == WSAESHUTDOWN) {
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/util/ |
H A D | ErrorReceiverFilter.java | 36 * If an error is encountered, this filter sets a flag. 65 public void error(SAXParseException exception) { method in class:ErrorReceiverFilter 67 if(core!=null) core.error(exception);
|
/openjdk10/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/wscompile/ |
H A D | ErrorReceiverFilter.java | 34 * If an error is encountered, this filter sets a flag. 56 * Resets the error state its currently in. It allows to ignore the error reported by 75 public void error(SAXParseException exception) { method in class:ErrorReceiverFilter 77 if(core!=null) core.error(exception);
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/ |
H A D | ErrorReporter.java | 36 * Provides error report capability to other owner components 42 * so that the exception thrown inside the error handler 46 * At the end of the day, we need to know if there was any error. 47 * So it is important that all the error messages go through this 57 * Error handler to report any binding error to. 58 * To report errors, use the error method. 68 void error( Locator loc, String prop, Object... args ) { method in class:ErrorReporter 69 errorReceiver.error( loc, Messages.format(prop,args) ); 97 // public void error(SAXParseException exception) { 98 // errorReceiver.error(exceptio [all...] |
/openjdk10/jdk/test/java/net/Authenticator/ |
H A D | B8034170.java | 62 String ERRreply = "HTTP/1.1 500 Internal server error\r\n"+ 104 boolean error; 107 error = false; 110 error = true; 114 error = true; 117 error = false; 120 error = true; 124 error = true; 127 if (error) {
|
/openjdk10/jdk/test/tools/launcher/ |
H A D | ChangeDataModel.java | 74 String error = "did not get " + "\'" + expect + "\'" + 76 throw new Exception(error);
|