RFR: 8233785: Incorrect JDK version is reported in hs_err log

Yasumasa Suenaga suenaga at oss.nttdata.com
Thu Nov 7 12:28:07 UTC 2019


Hi all,

Please review this change:

   JBS: https://bugs.openjdk.java.net/browse/JDK-8233785
   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8233785/webrev.00/

If JVM which is configured with --with-version-patch is crashed, JDK version in he_err log is incorrect.
We can get hs_err log which contains the following in header when we configure configure with "--with-version-update=0 --with-version-patch=1":

```
# JRE version: OpenJDK Runtime Environment (14.0.1+2) (build 14.0.0.1+2-TypeS)
```

Valid JDK version is "14.0.0.1", however it includes "14.0.1".
It is a bug in JDK_Version::to_string().


Thanks,

Yasumasa


More information about the hotspot-runtime-dev mailing list