RFR: 8356308: Assert with -Xlog:class+path when classpath has an empty element

Ioi Lam iklam at openjdk.org
Wed May 28 23:31:50 UTC 2025


On Thu, 22 May 2025 09:48:11 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This sounds like a bug in `-cp` parsing to me!

Yes, you're right. ClasspathStream throws away empty elements, but can't handle empty elements at the beginning of the string. Also the implementation of ClasspathStream is kind of ugly, so I rewrote it and fixed this bug.

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

PR Comment: https://git.openjdk.org/jdk/pull/25372#issuecomment-2917835772


More information about the hotspot-runtime-dev mailing list