RFR: 8374471: Check bin and lib folder of JDK image for unwanted files

Matthias Baesken mbaesken at openjdk.org
Wed Jan 7 13:30:36 UTC 2026


We currently expect certain files in the bin and lib folders of the jdk image.
This should be checked by a test.
For now we will probably not check for exact file lists; but certain files or file types (like exe / pdb / so etc.) will be allowed and others not.

See https://bugs.openjdk.org/browse/JDK-8373255 for examples of unwanted files.

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

Commit messages:
 - Remove import
 - Remove some whitespace
 - For now, test debug too; AIX has also tzmappings file
 - JDK-8374471

Changes: https://git.openjdk.org/jdk/pull/29040/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29040&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374471
  Stats: 150 lines in 1 file changed: 150 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29040.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29040/head:pull/29040

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


More information about the build-dev mailing list