RFR: CODETOOLS-7902936 Stray VM warnings in forked PrintPropertiesMain lead to hard to debug XML parse exception [v2]

Jason Zaugg jzaugg at openjdk.java.net
Mon May 24 05:11:43 UTC 2021

> - Recover from stray output before the XML prelude
>   - Report the output in the exception otherwise
>   - Silence VM warnings in PrintPropertiesMain when JEP-158 (-Xlog:) is available (JRE 9+)

Jason Zaugg has updated the pull request incrementally with one additional commit since the last revision:

  Revert prevention/recovery measures for stray VM output
  Just throw a more useful exception and leave the user to resolve
  the root cause.


  - all: https://git.openjdk.java.net/jmh/pull/41/files
  - new: https://git.openjdk.java.net/jmh/pull/41/files/ee68f969..76042568

 - full: https://webrevs.openjdk.java.net/?repo=jmh&pr=41&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jmh&pr=41&range=00-01

  Stats: 24 lines in 2 files changed: 1 ins; 16 del; 7 mod
  Patch: https://git.openjdk.java.net/jmh/pull/41.diff
  Fetch: git fetch https://git.openjdk.java.net/jmh pull/41/head:pull/41

PR: https://git.openjdk.java.net/jmh/pull/41

More information about the jmh-dev mailing list