-
Notifications
You must be signed in to change notification settings - Fork 109
8352068: [lworld] test StrictFinalInstanceFieldsTest.java needs to be updated after fix for JDK-8351951 #1449
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
base: lworld
Are you sure you want to change the base?
Conversation
👋 Welcome back matsaave! A progress list of the required criteria for merging this PR into |
@matias9927 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 4 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
@@ -139,6 +139,7 @@ runtime/AccModule/ConstModule.java 8294051 generic-all | |||
runtime/valhalla/inlinetypes/CircularityTest.java 8349037 generic-all | |||
runtime/valhalla/inlinetypes/PreloadCircularityTest.java 8349631 linux-aarch64-debug | |||
runtime/valhalla/inlinetypes/ValuePreloadTest.java 8349630 linux-aarch64-debug | |||
runtime/valhalla/inlinetypes/verifier/StrictInstanceFieldsTest.java generic-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this require a bug number?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe CODETOOLS-7903081 will work.
Updates to javac prevent it from creating classes with improper uses of strict fields. Additionally, non-final strict fields are now allowed so
StrictFinalInstanceFieldsTest.java
needs to updated with new test cases. This patch adds new cases for final and non-final stricts as well as negative test cases using asmtools that check improper use of strict fields and early larval stack map frames.During testing, it was revealed that the new verify errors added in JDK-8354694 do not work properly so a fix is included in this patch.
Note: This cannot be integrated until jtreg is updated with a recent build of asmtools which can handle strict fields and can generate early_larval frames.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1449/head:pull/1449
$ git checkout pull/1449
Update a local copy of the PR:
$ git checkout pull/1449
$ git pull https://git.openjdk.org/valhalla.git pull/1449/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1449
View PR using the GUI difftool:
$ git pr show -t 1449
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1449.diff
Using Webrev
Link to Webrev Comment