RFR: 8368885: NMT CommandLine tests can check for error better

Johan Sjölen jsjolen at openjdk.org
Mon Sep 29 16:59:10 UTC 2025


We can check for more specific error text when running the command line tests, the current 'error' string check misses NMT parsing succeeding but NMT initialization failure.

We also fix the indentation of the test files, let's use 4 spaces in the Java source files.

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

Commit messages:
 - Check for more specific issues

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

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


More information about the hotspot-runtime-dev mailing list