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
8259359: javac does not attribute unexpected super constructor invocation qualifier, and may crash #2021
Conversation
…tion qualifier, and may crash
|
looks sensible, I like the fact that this new code is executed if the compiler has already detected an error, so we are already in recovery mode
@lgxbslgx 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 107 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@vicente-romero-oracle) but any other Committer may sponsor as well.
|
/integrate |
@vicente-romero-oracle Could I get your help to sponsor this patch? Thanks a lot. |
/sponsor |
@vicente-romero-oracle @lgxbslgx Since your change was applied there have been 289 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 0eed2c3. |
Hi all,
Currently, javac doesn't attribute unexpected super constructor invocation qualifier. Please see the following code.
The code
new Undefined2() { public void test(int i) { Undefined3 u; } }
isn't attributed by javac.If we use options like
-XDshould-stop.at=FLOW -XDdev
, the compiler would crash.This patch fixes it and adds the corresponding test cases.
Thank you for taking the time to review.
Best Regards.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2021/head:pull/2021
$ git checkout pull/2021