RFR: 7903790: Use source instead of release option for library compilation [v4]

Christian Stein cstein at openjdk.org
Wed Aug 28 09:20:19 UTC 2024


> 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.

Christian Stein has updated the pull request incrementally with one additional commit since the last revision:

  Add self-tests
  
  Those tests check interesting combinations of libraries and tests
  that do and/or do not enable preview features.

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

Changes:
  - all: https://git.openjdk.org/jtreg/pull/221/files
  - new: https://git.openjdk.org/jtreg/pull/221/files/34eb7ce4..2bf46724

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jtreg&pr=221&range=03
 - incr: https://webrevs.openjdk.org/?repo=jtreg&pr=221&range=02-03

  Stats: 157 lines in 11 files changed: 155 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jtreg/pull/221.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/221/head:pull/221

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


More information about the jtreg-dev mailing list