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

Jaikiran Pai jpai at openjdk.org
Tue Dec 2 15:50:51 UTC 2025


Can I please get a review of this change which removes the usage of `jdk.internal.misc.ThreadTracker` from the `java.util.jar.JarFile` code? This addresses https://bugs.openjdk.org/browse/JDK-8366101.

The updated code replaces the usage of `ThreadTracker` with the standard `ScopedValue` API.

No new tests have been introduced, given the nature of the change. tier testing is currently in progress with this change.

-------------

Commit messages:
 - 8366101: Replace the use of ThreadTracker with ScopedValue in java.util.jar.JarFile

Changes: https://git.openjdk.org/jdk/pull/28609/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28609&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366101
  Stats: 38 lines in 1 file changed: 16 ins; 13 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/28609.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28609/head:pull/28609

PR: https://git.openjdk.org/jdk/pull/28609


More information about the security-dev mailing list