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

Jaikiran Pai jpai at openjdk.org
Wed Dec 3 09:19:50 UTC 2025


On Tue, 2 Dec 2025 16:56:18 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> 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.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use Runnable() instead of CallableOp

Thank you all for the reviews. tier1, tier2 and tier3 testing completed with this change without any issues. I'll integrate this now.

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

PR Comment: https://git.openjdk.org/jdk/pull/28609#issuecomment-3605829370


More information about the core-libs-dev mailing list