RFR: 8348323: Corrupted timezone string in JVM crash log

Dhamoder Nalla dhanalla at openjdk.org
Thu Jan 23 01:16:34 UTC 2025


Add a error check to "wcstombs" otherwise the "buf" prints junk or corrupted string.

Test performed: 
1. "jcmd < jvm pid > VM.info" for different JVM versions

-------------

Commit messages:
 - Fix to Timezone string corruption

Changes: https://git.openjdk.org/jdk/pull/23246/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23246&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348323
  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23246.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23246/head:pull/23246

PR: https://git.openjdk.org/jdk/pull/23246


More information about the hotspot-runtime-dev mailing list