You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JarUrlClassLoader load operations result in an unnecessary performance hit if names are known to be not valid #52271
After reviewing #52246 I think we should bypass expensive load operations if we know that a resource or class name is invalid. The changes for #52246 are too risky for 4.0.x in their entirety, but I think the name checks are safe and arguably something we should have always done.
changed the title [-]JarUrlClassLoader load operations result in an unessary performance hit if names are known to be not valid[/-][+]JarUrlClassLoader load operations result in an unnecessary performance hit if names are known to be not valid[/+]on Oct 17, 2026
Activity
[-]JarUrlClassLoader load operations result in an unessary performance hit if names are known to be not valid[/-][+]JarUrlClassLoader load operations result in an unnecessary performance hit if names are known to be not valid[/+]Bypass unnecessary load operations for invalid names
Fix wrong null return from getResources()
philwebb commentedon Oct 18, 2026
Given #52284 and #52283 it turns out this one is also too risky! We'll revert it for now and decide if it's worth it at a later time.
philwebb commentedon Oct 18, 2026
Reverted in b7c7baf
Sudharsan2001 commentedon Oct 19, 2026
Hi @philwebb, I'd like to work on this issue. Can I take this up?
philwebb commentedon Oct 19, 2026
Thanks for the offer @Sudharsan2001, but this one will be just backporting code we already have when we're sure it doesn't cause any regressions.
Bypass unnecessary class load operations for invalid names