RFR: 8356308: Assert with -Xlog:class+path when classpath has an empty element [v2]
Ioi Lam
iklam at openjdk.org
Thu May 29 20:01:37 UTC 2025
On Thu, 29 May 2025 06:06:47 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - @dholmes-ora comments -- fixed bug where ClasspathStream does not remove leading blank paths; cleaned up ClasspathStream and added docs/asserts
>> - Merge branch 'master' into 8356308-assert-in-log-class-path
>> - 8356308: Assert with -Xlog:class+path when classpath has an empty element
>
> src/hotspot/share/cds/aotClassLocation.cpp line 910:
>
>> 908: if (!cs->from_cpattr()) {
>> 909: ls.print("%s", sep);
>> 910: if (do_substitute && remove_prefix_len > 0) {
>
> I had expected this would no longer be necessary once the cp parsing was fixed. ??
I removed this change.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25372#discussion_r2114657271
More information about the hotspot-runtime-dev
mailing list