[jdk17u-dev] RFR: 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression [v2]

Alexey Pavlyutkin duke at openjdk.org
Fri May 19 10:42:02 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 incrementally with two additional commits since the last revision:

 - Merge branch '8275233' of https://github.com/apavlyutkin/jdk17u-dev into 8275233
 - 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/d7b755f4..93ed70aa

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=702&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=702&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 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