Skip to content

MEDIUM: perArtifactLocks.clear() creates new race after close() #368

Description

@sfloess

perArtifactLocks.clear() removes lock objects while other threads may still be synchronized on them.

Location: src/main/java/org/flossware/classloader/MavenRepositoryClassSource.java:419
Severity: MEDIUM - Resource leak
Impact: Concurrent downloads of same artifact after close()

🤖 AI Attribution: opus (80% confidence, 1/1 consensus)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions