JDB ClassExclusionFilter Stops in Wrong Method when Method References Used
(Doc ID 2502349.1)
Last updated on NOVEMBER 15, 2020
Applies to:Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.
With method references, JDK does not allow the JDB debugger's classExclusionFilter to stop where expected when the extra stepping filter jdk.internal.* is used.
Consider the following test code:
7. Notice the debugger stops at my.stepping.StepIntoMethodRef.lambda$actualMethod$0(), line=13
However, it should have stopped at line 10.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document