[jdk17u-dev] RFR: 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression [v3]
Alexey Pavlyutkin
duke at openjdk.org
Fri May 19 11:43:09 UTC 2023
> Hi! Here is backport of [JDK-8275233](https://bugs.openjdk.org/browse/JDK-8275233) that fixes incorrect `javac -g` flag processing. The issue was introduced by [JDK-8200301](https://bugs.openjdk.org/browse/JDK-8200301). It prevents proper debug info generation for labmdas, in particular it causes wrong line numbers in stack trace upon throwing an exception from a labmda fucntion.
>
> The original patch applied cleanly
>
> Verification (amd64/20.04LTS): test/langtools/tools/javac/lambda/deduplication/DeduplicationDebugInfo.java (new test)
> Regression (amd64/20.04LTS): test/langtools
Alexey Pavlyutkin has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- Merge branch '8275233' of https://github.com/apavlyutkin/jdk17u-dev into 8275233
- Merge branch '8275233' of https://github.com/apavlyutkin/jdk17u-dev into 8275233
- Backport d7c283a081c37bfb8bc5934e4b2af16cad512fd2
- forcing pre-submit testing
- forcing pre-submit testing
-------------
Changes:
- all: https://git.openjdk.org/jdk17u-dev/pull/702/files
- new: https://git.openjdk.org/jdk17u-dev/pull/702/files/93ed70aa..d7d554f9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=702&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=702&range=01-02
Stats: 157541 lines in 2085 files changed: 121412 ins; 20693 del; 15436 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/702.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/702/head:pull/702
PR: https://git.openjdk.org/jdk17u-dev/pull/702
More information about the jdk-updates-dev
mailing list