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

Harold Seigel hseigel at openjdk.java.net
Tue May 25 20:26:33 UTC 2021


On Thu, 13 May 2021 10:14:24 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> 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

JEP 306 (JDK-8175916) proposes removing ACC_STRICT for class file versions >= 61.  See also https://github.com/openjdk/jdk/pull/3891.  So perhaps testing of ACC_STRICT should be removed from these tests?

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

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


More information about the hotspot-runtime-dev mailing list