Skip to main content
diff options
authorTorbjörn SVENSSON2021-04-08 15:32:53 +0000
committerTorbjörn Svensson2021-04-10 18:44:44 +0000
commit450e0cac52e15b2e7714cc4193ab45ceab1d6efd (patch)
tree97874520c6e2999c1190a3172ec36aa3ac35d552 /build/org.eclipse.cdt.autotools.core/META-INF/MANIFEST.MF
parent549b9d00c08a7341d388bd4eafc8b2c9b8813f57 (diff)
Bug 572749: Try to always show error in English in exceptionHEADmaster
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 <>
Diffstat (limited to 'build/org.eclipse.cdt.autotools.core/META-INF/MANIFEST.MF')
0 files changed, 0 insertions, 0 deletions

Back to the top