RFR: 8302491: NoClassDefFoundError omits the original cause of an error [v2]

Ilarion Nakonechnyy inakonechnyy at openjdk.org
Mon Feb 20 12:21:29 UTC 2023


On Wed, 15 Feb 2023 02:58:36 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Ilarion Nakonechnyy has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Address review notes
>>  - Correct the jtreg test -
>>    check stacktrace only for NoClassDefFoundError
>
> 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?

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

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


More information about the hotspot-dev mailing list