RFR: 8267095: Miscellaneous cleanups in vm.runtime.defmeth tests

Vladimir Ivanov vlivanov at openjdk.java.net
Thu May 13 11:51:12 UTC 2021


Miscellaneous refactorings/cleanups in `vm.runtime.defmeth` tests.

In particular: 
  - replace `test/hotspot/jtreg/vmTestbase/vm/runtime/defmeth/scenarios` with enumeration of different test configurations in tests themselves; 
  - pass `TestBuilder` as a parameter and initiate test execution from executor; 
  - switch max class file version tested from 52 to 61 (`V17`); 
  - minor changes (cleanups, new test cases)

Testing:
- [x] vmTestbase/vm/runtime/defmeth/
- [x] hs-tier5-rt - hs-tier8-rt

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

Commit messages:
 - Cleanup
 - Remove scenarios
 - FIXME removal
 - Fixes
 - TestBuilder as a parameter

Changes: https://git.openjdk.java.net/jdk/pull/4008/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4008&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267095
  Stats: 17502 lines in 391 files changed: 323 ins; 16888 del; 291 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4008.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4008/head:pull/4008

PR: https://git.openjdk.java.net/jdk/pull/4008


More information about the hotspot-runtime-dev mailing list