RFR: 8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled [v2]

Calvin Cheung ccheung at openjdk.org
Mon Nov 14 17:24:41 UTC 2022


> Before this fix, with `-Xshare:on` and `-Xlog:class+path=info` and if there is a class path mismatch, the following error message will be displayed:
> 
> `shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)`
> 
> After this fix, only the first part of the error message will be displayed since the "hint" is repetitive if the user has specified `-Xlog:class+path=info.`
> 
> `shared class paths mismatch`
> 
> Passed tiers 1 and 2 testing.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  simplify FileMapInfo::validate_shared_path_table

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11078/files
  - new: https://git.openjdk.org/jdk/pull/11078/files/faf37ecb..6817b013

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11078&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11078&range=00-01

  Stats: 34 lines in 2 files changed: 21 ins; 6 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/11078.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11078/head:pull/11078

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


More information about the hotspot-runtime-dev mailing list