8388347: Remove enablePreview from TestEnableNativeAccessJarManifest#31916
8388347: Remove enablePreview from TestEnableNativeAccessJarManifest#31916liach wants to merge 1 commit into
Conversation
|
👋 Welcome back liach! A progress list of the required criteria for merging this PR into |
|
@liach This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
Hello Chen,
I don't fully follow what the issue is, especially the part about command line arguments being no longer sufficient. Which command line arguments are those? The exact error(s) this test generates against a JDK that has JEP-401 implementation will be useful to see. |
|
@jaikiran See example excerpt from https://github.com/liach/valhalla/actions/runs/29372000486/job/87221798714#step:10:1993 In openjdk/valhalla#2643, since this test is |
Thank you. So this is about the command line arguments that the test code uses to launch a The remaining The change in this PR looks good to me. |
jaikiran
left a comment
There was a problem hiding this comment.
Although the change is trivial test-only change, it would be good to wait for a review from either Per @minborg or Jorn @JornVernee before integrating.
|
Thanks for the reviews! I will integrate sooner since this has limited impact and mach5 seems good. /integrate |
|
Going to push as commit 2659bfe.
Your commit was automatically rebased without conflicts. |
TestEnableNativeAccessJarManifest has a
@enablePreviewjtreg directive. This test was added in the commit where FFM became a permanent feature, so its omission was likely an oversight.Now, this test declares a record, which makes all its class files preview with JEP 401. As a consequence, the command line arguments are no longer sufficient to run the test. We can simply remove
@enablePreviewto clear this butterfly effect.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31916/head:pull/31916$ git checkout pull/31916Update a local copy of the PR:
$ git checkout pull/31916$ git pull https://git.openjdk.org/jdk.git pull/31916/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31916View PR using the GUI difftool:
$ git pr show -t 31916Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31916.diff
Using Webrev
Link to Webrev Comment