Integrated: 8292250: Create test for co-located JDI MethodEntry, Step, and Breakpoint events

Chris Plummer cjplummer at openjdk.org
Thu Aug 25 22:08:05 UTC 2022


On Thu, 11 Aug 2022 16:03:58 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> We currently have no tests for co-located MethodEntry, Step, and Breakpoint events. We should make sure they are being properly co-located as described in the JDI spec, and also do special test cases for [JDK-8292217](https://bugs.openjdk.org/browse/JDK-8292217).
> 
> https://docs.oracle.com/en/java/javase/17/docs/api/jdk.jdi/com/sun/jdi/event/EventSet.html
> 
> And sorry in advance that the logic is a bit hard to follow in this test due to having multiple test cases, and dealing with the async nature of JDI testing. All I can say is that is used to be a lot worse before I did multiple passes to improve it.

This pull request has now been integrated.

Changeset: d83faeaf
Author:    Chris Plummer <cjplummer at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d83faeaf9ab3584de6af23de16aad3738d179c86
Stats:     452 lines in 2 files changed: 452 ins; 0 del; 0 mod

8292250: Create test for co-located JDI MethodEntry, Step, and Breakpoint events

Reviewed-by: amenkov, kevinw

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

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


More information about the serviceability-dev mailing list