RFR: 8345431: Detect duplicate entries in jar files with jar --validate [v3]
Christian Stein
cstein at openjdk.org
Tue Apr 29 14:39:19 UTC 2025
On Tue, 29 Apr 2025 14:36:37 GMT, Henry Jen <henryjen at openjdk.org> wrote:
>> This PR check the jar file to ensure entries are consistent from the central directory and local file header. Also check there is no duplicate entry names that could override the desired content by accident.
>
> Henry Jen has updated the pull request incrementally with one additional commit since the last revision:
>
> Rename checkHasCenEntry to checkAnyCenEntry
test/jdk/tools/jar/ValidatorTest.java line 2:
> 1: /*
> 2: * Copyright (c) 2025, 2025, Oracle and/or its affiliates. All rights reserved.
Suggestion:
* Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved.
One year is enough here, right?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24430#discussion_r2066717887
More information about the compiler-dev
mailing list