1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00
cdt/core
Torbjörn SVENSSON 450e0cac52 Bug 572749: Try to always show error in English in exception
The ThrowNew JNI method requires the message to be encoded in
"modified UTF-8". The FormatMessage WinAPI method can return a string
using any encoding, so it needs to be converted to UTF-8 in order
to have it visible in the exception message.
To further help, try to extract the message in English and fall back
to the Windows installation language as a last resort.

Prefix the error message with the error code from the GetLastError()
function.

Contributed by STMicroelectronics

Change-Id: Id76ffd83e2d3ad1f061780c7ee0892c9b378649b
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@st.com>
2021-04-10 14:44:44 -04:00
..
org.eclipse.cdt.core Bug 572648: Handle cases of empty (EOF) JSON files 2021-04-08 10:56:14 -04:00
org.eclipse.cdt.core.linux Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.linux.aarch64 Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.linux.ppc64le Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.linux.x86_64 Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.macosx Bug 572581: update jnilibs for new version of cdt-infra 2021-04-04 21:18:31 -04:00
org.eclipse.cdt.core.native Bug 572749: Try to always show error in English in exception 2021-04-10 14:44:44 -04:00
org.eclipse.cdt.core.tests Bug 572250: [Java 16] fix illegal reflection in scannerInfoCache 2021-04-08 10:55:26 -04:00
org.eclipse.cdt.core.win32 Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.win32.x86_64 Bug 572749: Try to always show error in English in exception 2021-04-10 14:44:44 -04:00
org.eclipse.cdt.ui [releng] Bump version number 2021-01-11 15:14:09 -05:00
org.eclipse.cdt.ui.tests Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
pom.xml Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00