RFR: 8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch RuntimeException

Fairoz Matte fmatte at openjdk.java.net
Wed Nov 24 12:56:15 UTC 2021


During the review of https://github.com/openjdk/jdk/pull/5231#pullrequestreview-784995993 
It was suggested by @iklam in the test case Runtime exception is not required for the reason TouchedMethodsDCmd is always enabled as long as the current JVM has INCLUDE_SERVICES is true.

Igor has agreed to capture this in separate RFE (current) to handle this scenario.

This is trivial, please review.

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

Commit messages:
 - 8275687: runtime/CommandLine/PrintTouchedMethods test shouldn't catch RuntimeException

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

PR: https://git.openjdk.java.net/jdk/pull/6536


More information about the hotspot-runtime-dev mailing list