Skip to content

JarUrlClassLoader load operations result in an unnecessary performance hit if names are known to be not valid #52271

Done

Description

@philwebb

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.

Activity

  1. self-assigned this
    on Oct 17, 2026
  2. added this to the 4.0.9 milestone on Oct 17, 2026
  3. 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
  4. added 2 commits that reference this issue on Oct 17, 2026
    0718322
    776781c
  5. philwebb commented on Oct 18, 2026

    @philwebb
    MemberAuthor

    The changes for #52246 are too risky

    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.

  6. modified the milestones: 4.0.9, 4.0.x on Oct 18, 2026
  7. philwebb commented on Oct 18, 2026

    @philwebb
    MemberAuthor

    Reverted in b7c7baf

  8. Sudharsan2001 commented on Oct 19, 2026

    @Sudharsan2001

    Hi @philwebb, I'd like to work on this issue. Can I take this up?

  9. added
    status: team-only
    on Oct 19, 2026
  10. philwebb commented on Oct 19, 2026

    @philwebb
    MemberAuthor

    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.

  11. modified the milestones: 4.0.x, 4.0.11 on Dec 1, 2026
  12. added a commit that references this issue on Dec 2, 2026
    9ebc85f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: team-onlytype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions