Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8342276: [lworld] Apply LIBRARY.properties to stabiliize --enable-preview for tests #1280

Draft
wants to merge 1 commit into
base: lworld
Choose a base branch
from

Conversation

RogerRiggs
Copy link
Collaborator

@RogerRiggs RogerRiggs commented Oct 16, 2024

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.


Progress

  • Change must not contain extraneous whitespace

Issue

  • JDK-8342276: [lworld] Apply LIBRARY.properties to stabiliize --enable-preview for tests (Bug - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1280/head:pull/1280
$ git checkout pull/1280

Update a local copy of the PR:
$ git checkout pull/1280
$ git pull https://git.openjdk.org/valhalla.git pull/1280/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1280

View PR using the GUI difftool:
$ git pr show -t 1280

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1280.diff

…view for tests

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 prevaining enablePreview setting.
@bridgekeeper
Copy link

bridgekeeper bot commented Oct 16, 2024

👋 Welcome back rriggs! A progress list of the required criteria for merging this PR into lworld will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Oct 16, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant