[jdk17u-dev] RFR: 8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression [v4]
Alexey Pavlyutkin
duke at openjdk.org
Tue May 23 07:39:08 UTC 2023
On Mon, 22 May 2023 09:11:59 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:
>> 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
Fixed
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/702#issuecomment-1558703762
More information about the jdk-updates-dev
mailing list