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

Kevin Walls kevinw at openjdk.org
Wed May 3 15:50:14 UTC 2023


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.

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

Commit messages:
 - 8307362: Remove test com/sun/jdi/JdbLastErrorTest.java

Changes: https://git.openjdk.org/jdk/pull/13781/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13781&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307362
  Stats: 104 lines in 2 files changed: 0 ins; 104 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13781.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13781/head:pull/13781

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


More information about the serviceability-dev mailing list