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
@@ -434,8 +434,7 @@ public void setDebugTraceMode(int traceMode) {
434
434
/**
435
435
* Wait for the requested event and skip other events.
436
436
*
437
- * @param request non-null value for events generated by this
438
- * event request; null value for <code>VMStartEvent</code>.
437
+ * @param request non-null value for events generated by this event request;
439
438
* @param timeout timeout in milliseconds to wait for the requested event.
440
439
*
441
440
* @throws InterruptedException if another thread has interrupted this thread
@@ -458,7 +457,7 @@ public Event waitingEvent(EventRequest request, long timeout)
458
457
459
458
EventSet eventSet = eventQueue .remove (timeLeft );
460
459
if (eventSet == null ) {
461
- continue ;
460
+ return null ;
462
461
}
463
462
464
463
EventIterator eventIterator = eventSet .eventIterator ();
You can’t perform that action at this time.
0 commit comments