-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
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.
ThreadTracker was a temporary mechanism. ScopedValue has been delivered as a permanent Java SE feature in Java 25 (
Re-entrancy can be tracked using a ScopedValue. The JarFile implementation should move away from ThreadTracker and instead use ScopedValue in its place.