[jdk17u-dev] Integrated: 8330535: Update nsk/jdb tests to use driver instead of othervm

Goetz Lindenmaier goetz at openjdk.org
Wed Jul 9 05:23:48 UTC 2025


On Mon, 7 Jul 2025 10:58:23 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.17-oracle.
> 
> Three adapted tests are not in 17.
> Others don't apply clean because mostly the copyright was changed
> in 21.  Only JdbTest needed a trivial resolve of code.
> 
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/kill/kill001/kill001.java
> Resolved Copyright. 21 has several virtual thread changes.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/list/list003/list003.java
> Added by new feature "8271356: Modify jdb to treat an empty command as a repeat of the previous command". Skipped.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/monitor/monitor001/monitor001.java
> Resolved Copyright. 21 has a virtual thread change.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/repeat/repeat001/repeat001.java
> Added by new feature "8271356: Modify jdb to treat an empty command as a repeat of the previous command". Skipped.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/resume/resume002/resume002.java
> Resolved Copyright because "8284191: Replace usages of 'a the' in hotspot and java.base" is not in 17.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/threadgroup/threadgroup002/threadgroup002.java
> Resolved Copyright because new feature "8282641: Make jdb "threadgroup" command with no args reset the current threadgroup back to the default" was added in 19.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/threads/threads002/threads002.java
> Resolved Copyright because 21 has virtual thread changes.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/threads/threads003/threads003.java
> Was added by virtual threads change. Skipped.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/trace/trace001/trace001.java
> Resolved Copyright because 21 has virtual thread changes.
> 
> test/hotspot/jtreg/vmTestbase/nsk/jdb/unmonitor/unmonitor001/unmonitor001.java
> Resolved Copyright because 21 has virtual thread changes.
> 
> test/hotspot/jtreg/vmTestbase/nsk/share/jdb/JdbTest.java
> Resolved one chunk due to context because 21 has changes as "8332641: Update nsk.share.jpda.Jdb to don't use finalization"

This pull request has now been integrated.

Changeset: 6cf00cc7
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/6cf00cc741cb55c9d8207bc1011cc45e4937e6ec
Stats:     461 lines in 66 files changed: 5 ins; 261 del; 195 mod

8330535: Update nsk/jdb tests to use driver instead of othervm

Reviewed-by: mdoerr
Backport-of: 4417c276e484c1fe137ed7f4a7c28709d0c99af2

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3709


More information about the jdk-updates-dev mailing list