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
8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression #6733
Conversation
…wn from a lambda expression
|
Webrevs
|
@cushon 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 18 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.
|
/integrate |
Going to push as commit d7c283a.
Your commit was automatically rebased without conflicts. |
This change fixes a bug introduced in JDK-8200301, which tries to check if line or variable debug info is generated, but fails to consider that line debug info is generated if no
-g
or-g:
options are passed.The new check is consistent with the handling of lines in e.g.
jdk/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
Lines 421 to 422 in 17ceef9
jdk/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
Lines 118 to 120 in fe89dd3
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/6733/head:pull/6733
$ git checkout pull/6733
Update a local copy of the PR:
$ git checkout pull/6733
$ git pull https://git.openjdk.java.net/jdk pull/6733/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 6733
View PR using the GUI difftool:
$ git pr show -t 6733
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/6733.diff