On Wed, 4 Dec 2024 16:28:58 GMT, Jaikiran Pai <j...@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: > > Lance's suggestion - better comment on the method src/java.base/share/classes/jdk/internal/loader/URLClassPath.java line 665: > 663: return jar; > 664: } > 665: if (!zipAccess.startsWithLocHeader(jar)) { Suggestion: if (JAR_CHECKING_ENABLED && !zipAccess.startsWithLocHeader(jar)) { ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22545#discussion_r1869908385