Integrated: 8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled

Calvin Cheung ccheung at openjdk.org
Wed Nov 16 15:50:27 UTC 2022


On Thu, 10 Nov 2022 03:29:25 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 3eb6d0e2
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/3eb6d0e2f8d6031cf0fc3ed6eaa6ab203ca72eae
Stats:     74 lines in 9 files changed: 42 ins; 5 del; 27 mod

8291991: Adjust the "shared class paths mismatch" message if class path logging is enabled

Reviewed-by: iklam, matsaave

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

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


More information about the hotspot-runtime-dev mailing list