[lworld] Integrated: 8342276: [lworld] Apply LIBRARY.properties to stabiliize --enable-preview for tests
Roger Riggs
rriggs at openjdk.org
Wed Oct 23 14:10:35 UTC 2024
On Wed, 16 Oct 2024 13:26:46 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Create LIBRARY.properties files to set the value of `enablePreview` for sensitive test library roots.
>
> The top level test library is set with `enablePreview = false` so that when compiled they will be able to be used with or without enablePreview.
>
> Individual tests that use preview features and test library files that use preview features will need to be compiled based on the settings in each test.
>
> Some tests are modified to remove explicit building or compilation and fall back to implicit compiles with the prevailing enablePreview setting.
>
> There are other test library roots that declare `enablePreview = true` appropriate to their uses.
This pull request has now been integrated.
Changeset: 72472c42
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/72472c42e03676b45a556254132c91ab3c2b974b
Stats: 24 lines in 21 files changed: 6 ins; 10 del; 8 mod
8342276: [lworld] Apply LIBRARY.properties to stabiliize --enable-preview for tests
-------------
PR: https://git.openjdk.org/valhalla/pull/1280
More information about the valhalla-dev
mailing list