Replace the use of ThreadTracker with ScopedValue in java.util.jar.JarFile

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      The implementation in java.util.jar.JarFile, when initializing a JarVerifier uses the jdk.internal.misc.ThreadTracker to keep track of and prevent re-entrancy.

      ThreadTracker was a temporary mechanism. ScopedValue has been delivered as a permanent Java SE feature in Java 25 (JDK-8352695).

      Re-entrancy can be tracked using a ScopedValue. The JarFile implementation should move away from ThreadTracker and instead use ScopedValue in its place.

            Assignee:
            Jaikiran Pai
            Reporter:
            Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: