Integrated: 8345431: Improve jar --validate to detect duplicate or invalid entries

Henry Jen henryjen at openjdk.org
Wed May 28 17:26:01 UTC 2025


On Fri, 4 Apr 2025 00:39:04 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.

This pull request has now been integrated.

Changeset: cd052c72
Author:    Henry Jen <henryjen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cd052c72cdb62186e66c1d2ecf9216f3df61b242
Stats:     599 lines in 5 files changed: 584 ins; 3 del; 12 mod

8345431: Improve jar --validate to detect duplicate or invalid entries

Reviewed-by: lancea, jpai

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

PR: https://git.openjdk.org/jdk/pull/24430


More information about the compiler-dev mailing list