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

Christoph Langer clanger at openjdk.org
Thu Jan 8 13:37:04 UTC 2026


On Thu, 8 Jan 2026 09:10:02 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:
> 
>   Run the test only with product images

test/jdk/build/CheckFiles.java line 3:

> 1: /*
> 2:  * Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
> 3:  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

You could use an SAP copyright here

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29040#discussion_r2672376581


More information about the build-dev mailing list