8388343: [lworld] Reevaluate the enable-preview in memory compilation from VM arguments#2645
8388343: [lworld] Reevaluate the enable-preview in memory compilation from VM arguments#2645liach 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 |
coleenp
left a comment
There was a problem hiding this comment.
Reverting this looks fine. Thank you for verifying that the RedefineClasses tests pass with this change.
|
I think I will hold this back from JEP 401 integration: That said, I think we might still come back to this on mainline, because this breaks tests running with |
When the JVM of javac runs with -J--enable-preview, javac should still compile against the non-preview class path when it is not passed --enable-preview. We have this hack within InMemoryJavaCompiler that turns out breaks things when we try to fix some javac issues (#2643), because we expect the output bytecode to be stable for transformations.
Turns out now this change is redundant. Tier 1-6 is clear so far except the known CreateCoreDumpOnCrash.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/2645/head:pull/2645$ git checkout pull/2645Update a local copy of the PR:
$ git checkout pull/2645$ git pull https://git.openjdk.org/valhalla.git pull/2645/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2645View PR using the GUI difftool:
$ git pr show -t 2645Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/2645.diff
Using Webrev
Link to Webrev Comment