Integrated: 7903790: Use source instead of release option for library compilation

Christian Stein cstein at openjdk.org
Wed Aug 28 09:37:36 UTC 2024


On Mon, 19 Aug 2024 16:17:56 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Please review this change to use `--source=N` instead of `--release=N` in order to prevent compiler errors reading `exporting a package from system module java.base is not allowed with --release` when compiling a library using preview features, enabled via the new `LIBRARY.properties` configuration file.

This pull request has now been integrated.

Changeset: 2db8c37d
Author:    Christian Stein <cstein at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/2db8c37d248bc7198cbbc5b026ebcba9d9a23bfa
Stats:     161 lines in 12 files changed: 158 ins; 0 del; 3 mod

7903790: Use source instead of release option for library compilation

Reviewed-by: jjg

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

PR: https://git.openjdk.org/jtreg/pull/221


More information about the jtreg-dev mailing list