< prev index next >

src/java.base/windows/native/libjli/java_md.c

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 493,503 **** buffer[size - 1] = '\0'; } return rc; } ! void JLI_ReportErrorMessage(const char* fmt, ...) { va_list vl; va_start(vl,fmt); if (IsJavaw()) { --- 493,503 ---- buffer[size - 1] = '\0'; } return rc; } ! JNIEXPORT void JNICALL JLI_ReportErrorMessage(const char* fmt, ...) { va_list vl; va_start(vl,fmt); if (IsJavaw()) {
*** 522,532 **** /* * Just like JLI_ReportErrorMessage, except that it concatenates the system * error message if any, its upto the calling routine to correctly * format the separation of the messages. */ ! void JLI_ReportErrorMessageSys(const char *fmt, ...) { va_list vl; int save_errno = errno; --- 522,532 ---- /* * Just like JLI_ReportErrorMessage, except that it concatenates the system * error message if any, its upto the calling routine to correctly * format the separation of the messages. */ ! JNIEXPORT void JNICALL JLI_ReportErrorMessageSys(const char *fmt, ...) { va_list vl; int save_errno = errno;
*** 586,596 **** (void)LocalFree((HLOCAL)errtext); } va_end(vl); } ! void JLI_ReportExceptionDescription(JNIEnv * env) { if (IsJavaw()) { /* * This code should be replaced by code which opens a window with * the exception detail message, for now atleast put a dialog up. */ --- 586,597 ---- (void)LocalFree((HLOCAL)errtext); } va_end(vl); } ! JNIEXPORT void JNICALL ! JLI_ReportExceptionDescription(JNIEnv * env) { if (IsJavaw()) { /* * This code should be replaced by code which opens a window with * the exception detail message, for now atleast put a dialog up. */
< prev index next >