RFR: 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java

Daniel D. Daugherty dcubed at openjdk.org
Wed May 3 18:54:15 UTC 2023


On Wed, 3 May 2023 14:18:00 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> This should be a trivial change, to remove a test which is unreliable, and to remove its problem list entry.
> 
> The test is unreliable, but also the updated Panama situation is that we now have Linker.Option.CaptureCallState which gives us the chance to capture last error when calling a MethodHandle, and read the stored last error code in a VarHandle.  This is the way to reliably capture a last error value, and is tested in test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java.
> 
> The JdbLastErrorTest should be removed.

Thumbs up. I agree this is a trivial fix.

-------------

Marked as reviewed by dcubed (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13781#pullrequestreview-1411586683


More information about the serviceability-dev mailing list