On Mon, 25 Jul 2022 09:27:28 GMT, Serguei Spitsyn <sspit...@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

Reply via email to