RFR: 8369838: Likely invalid assert or function call in jimage.cpp

Henry Jen henryjen at openjdk.org
Mon Nov 3 16:14:44 UTC 2025


On Sun, 2 Nov 2025 09:01:52 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Would it be possible to update the PR with a brief summary on what testing has been done, or just confirm that at least tier1-5 has been run. It would indeed be a bug if JImageFindResource were called with a zero-length module name so just want to make sure the assert doesn't trigger in some unusual configuration.
> 
> As regards asserts vs. JIMAGE_* functions returning errors then I assume errors would be preferable. The classes in classLoader.cpp is the only user so it wouldn't be hard to audit the usage to make sure that they check for errors.

I have run tier1 and tier2, I'll run others.

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

PR Comment: https://git.openjdk.org/jdk/pull/28098#issuecomment-3481339052


More information about the hotspot-runtime-dev mailing list