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

Matthias Baesken mbaesken at openjdk.org
Wed Jan 7 15:37:05 UTC 2026


On Wed, 7 Jan 2026 15:29:00 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> 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.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Adjust COPYRIGHT year

Btw. I thought about limiting the test to ` !vm.debug`  ; we and probably most (if not all) vendors ship product JDKs so checking on debug  builds is probably much less important .

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

PR Comment: https://git.openjdk.org/jdk/pull/29040#issuecomment-3719451019


More information about the build-dev mailing list