On Fri, 16 Jan 2026 09:13:33 GMT, Matthias Baesken <[email protected]> wrote:
> We currently expect certain files in the legal folder of the jdk image. > This should be checked by a test. > (recently a check for the bin and lib folders has been added by > [JDK-8374471](https://bugs.openjdk.org/browse/JDK-8374471)) test/jdk/build/CheckFiles.java line 164: > 162: requiredFilesInLegalSubdirs.add("ADDITIONAL_LICENSE_INFO"); > 163: requiredFilesInLegalSubdirs.add("ASSEMBLY_EXCEPTION"); > 164: requiredFilesInLegalSubdirs.add("LICENSE"); This set of files is expected for OpenJDK builds, but different vendors may be building the JDK under different license agreements and consequently, this set of files will differ. As an example, OracleJDK has the files `LICENSE` and `COPYRIGHT`. I think we can check for the file `LICENSE`. If we are to check for the rest of the upper case files, it needs to be conditional on the LICENSE being GPL. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29272#discussion_r2699023857
