RFR: 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486 [v5]
Daniel Fuchs
dfuchs at openjdk.org
Thu Dec 5 09:10:41 UTC 2024
On Thu, 5 Dec 2024 04:38:04 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:
>
> - simplify system property check
> - fix URL creation to address failures on Windows OS
> - merge latest from master branch
> - Roger's suggestion - reduce "if" blocks
> - Lance's suggestion - better comment on the method
> - improve code comment
> - introduce a test for the sun.misc.URLClassPath.disableJarChecking system property
> - 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486
Later changes look good.
-------------
Marked as reviewed by dfuchs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22545#pullrequestreview-2480996155
More information about the core-libs-dev
mailing list