RFR: 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486 [v2]
Daniel Fuchs
dfuchs at openjdk.org
Wed Dec 4 15:52:41 UTC 2024
On Wed, 4 Dec 2024 15:46:28 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Can I please get a review of this change which proposes to address https://bugs.openjdk.org/browse/JDK-8341551?
>>
>> The primary work in this PR is the specification of the previously existing `sun.misc.URLClassPath.disableJarChecking` system property and how the internal implementation of `java.net.URLClassLoader` treats it. The complete details about this property is available in the CSR for this change here https://bugs.openjdk.org/browse/JDK-8345394.
>>
>> A new jtreg test has been introduced to exercise the usage of this system property.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>
> improve code comment
Marked as reviewed by dfuchs (Reviewer).
test/jdk/jdk/internal/loader/URLClassPath/JarCheckTest.java line 60:
> 58: * @run junit/othervm -Dsun.misc.URLClassPath.disableJarChecking JarCheckTest
> 59: * @run junit/othervm -Dsun.misc.URLClassPath.disableJarChecking=true JarCheckTest
> 60: * @run junit/othervm -Dsun.misc.URLClassPath.disableJarChecking=FALSE JarCheckTest
maybe we should have an `@run` with the canonical "false" value too.
-------------
PR Review: https://git.openjdk.org/jdk/pull/22545#pullrequestreview-2478941746
PR Review Comment: https://git.openjdk.org/jdk/pull/22545#discussion_r1869687764
More information about the core-libs-dev
mailing list