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
8242496: [lworld] new and defaultvalue don't perform checks on class to instantiate #21
Conversation
|
@fparain This change now passes all automated pre-integration checks, type
Since the source branch of this PR was last updated there has been 1 commit pushed to the
|
Mailing list message from Frederic Parain on valhalla-dev: Thank you David. Fred
|
/integrate |
Mailing list message from Frederic Parain on valhalla-dev: Changeset: acffd19 8242496: [lworld] new and defaultvalue don't perform checks on class to instantiate Reviewed-by: dsimms ! src/hotspot/cpu/x86/templateTable_x86.cpp |
The new and defaultvalue bytecodes currently lack a check to ensure that the class to instantiate is of the right kind.
These changes add checks in both slow and fast path of the interpreter.
Testing:
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/valhalla pull/21/head:pull/21
$ git checkout pull/21