[jdk11u-dev] RFR: 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
Alexey Pavlyutkin
duke at openjdk.org
Thu May 25 15:25:45 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`
-------------
Commit messages:
- Backport 9cb01207b371e3e0f0af3652b78dd623205b537f
Changes: https://git.openjdk.org/jdk11u-dev/pull/1904/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1904&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8275233
Stats: 52 lines in 6 files changed: 48 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/1904.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/1904/head:pull/1904
PR: https://git.openjdk.org/jdk11u-dev/pull/1904
More information about the jdk-updates-dev
mailing list