File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
test/hotspot/jtreg/vmTestbase/nsk/share/jdi Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2001, 2024 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2001, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -437,8 +437,7 @@ public void setDebugTraceMode(int traceMode) {
437
437
/**
438
438
* Wait for the requested event and skip other events.
439
439
*
440
- * @param request non-null value for events generated by this
441
- * event request; null value for <code>VMStartEvent</code>.
440
+ * @param request non-null value for events generated by this event request;
442
441
* @param timeout timeout in milliseconds to wait for the requested event.
443
442
*
444
443
* @throws InterruptedException if another thread has interrupted this thread
@@ -461,7 +460,7 @@ public Event waitingEvent(EventRequest request, long timeout)
461
460
462
461
EventSet eventSet = eventQueue .remove (timeLeft );
463
462
if (eventSet == null ) {
464
- continue ;
463
+ return null ;
465
464
}
466
465
467
466
EventIterator eventIterator = eventSet .eventIterator ();
You can’t perform that action at this time.
0 commit comments