RFR: 8302491: NoClassDefFoundError omits the original cause of an error [v2]
David Holmes
dholmes at openjdk.org
Mon Feb 20 22:14:27 UTC 2023
On Mon, 20 Feb 2023 12:18:08 GMT, Ilarion Nakonechnyy <inakonechnyy at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/ClassInitErrors/TestNoClassDefFoundCause.java line 27:
>>
>>> 25: * @test
>>> 26: * @bug 8302491
>>> 27: * @requires vm.compMode != "Xint"
>>
>> Why?
>
> The testcase is valid only if VM runs in Compiler mode.
> Do you think this annotator is redundant?
The failure scenario seems independent of compilation mode. And the testcase seems like it should also work in any compilation mode.
-------------
PR: https://git.openjdk.org/jdk/pull/12566
More information about the hotspot-dev
mailing list