-
Notifications
You must be signed in to change notification settings - Fork 171
8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException. #592
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
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. 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 As you do not have Committer status in this project an existing Committer must agree to sponsor your change. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue and summary from the original commit. |
|
Thanks for the approval. The tier 1 test failures are 2 certificates on all platforms which should be fixed by #597, and a few crashes in macOS x64. No new failures related to this backport, so I will go ahead and integrate. /integrate |
|
/sponsor |
|
Going to push as commit b6616d6.
Your commit was automatically rebased without conflicts. |
An out-of-spec behavior of core reflection causes it to fail when it encounters class files that conform to JVMS for release 8. In JVMS § 4.7.24 parameters are allowed to have
null(CP reference 0) names, but core reflection didn't accept it.This problem was relatively obscure, but it has been exacerbated when javac for release 21 and later starts generating such parameters in
MethodParametersattribute. Since this is a problem with Java 8, I propose to backport this related fix onto 8 instead of changing latest releases.This pull request contains a backport of commit cba5bd26 from the openjdk/jdk repository. The commit being backported was authored by Eric McCorkle on 11 Nov 2014 and was reviewed by Coleen Phillimore and David Holmes.
A backport request is included in the latest comment in the original JBS issue.
An original pull request openjdk/jdk8u#63 was made against the wrong repository.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/592/head:pull/592$ git checkout pull/592Update a local copy of the PR:
$ git checkout pull/592$ git pull https://git.openjdk.org/jdk8u-dev.git pull/592/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 592View PR using the GUI difftool:
$ git pr show -t 592Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/592.diff
Webrev
Link to Webrev Comment