RFR: 8375458: Check legal folder of JDK image for unwanted files
Matthias Baesken
mbaesken at openjdk.org
Tue Jan 20 16:57:36 UTC 2026
On Fri, 16 Jan 2026 15:45:20 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> 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.
Good point ! Can I easily check from the test what kind of license it is ? Or if it is OpenJDK or OracleJDK (or a licensee JDK) ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29272#discussion_r2709228118
More information about the build-dev
mailing list