RFR: 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName
Chris Plummer
cjplummer at openjdk.org
Mon Jul 25 17:00:12 UTC 2022
On Mon, 25 Jul 2022 09:27:28 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Fixed tests that use eName to print event name to print the class name. Plus some minor refactoring.
>
> test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/request/request001.java line 553:
>
>> 551: log3("ERROR: else clause in detecting type of event1");
>> 552: testExitCode = FAILED;
>> 553: throw new JDITestRuntimeException("** unexpected event **");
>
> It is better to print the event type (or, at least, something) in this case.
Just add ` + event`.
-------------
PR: https://git.openjdk.org/jdk/pull/9624
More information about the serviceability-dev
mailing list