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

Kevin Walls kevinw at openjdk.org
Thu May 4 06:34:23 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.

This pull request has now been integrated.

Changeset: e206d57b
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e206d57bfc09032e17d09714fc54ab2f5e961792
Stats:     104 lines in 2 files changed: 0 ins; 104 del; 0 mod

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

Reviewed-by: dcubed

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

PR: https://git.openjdk.org/jdk/pull/13781


More information about the serviceability-dev mailing list