On Wed, 25 Nov 2026 09:37:13 GMT, Serguei Spitsyn <[email protected]> wrote:

>> Chris Plummer has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Get rid of unneeded imports
>
> test/jdk/com/sun/jdi/valhalla/CtorDebuggingTest.java line 60:
> 
>> 58: import com.sun.jdi.request.BreakpointRequest;
>> 59: import com.sun.jdi.request.EventRequest;
>> 60: import com.sun.jdi.request.EventRequestManager;
> 
> Nit: There following imports can be stale:
> 
>   import java.util.Arrays;
>   import java.util.List;
>   import java.util.Objects;
> 
>   import com.sun.jdi.Field;
>   import com.sun.jdi.IntegerValue;
>   import com.sun.jdi.ReferenceType;
>   import com.sun.jdi.StackFrame;
>   import com.sun.jdi.ThreadReference;
>   import com.sun.jdi.event.ClassPrepareEvent;
>   import com.sun.jdi.request.EventRequest;
>   import com.sun.jdi.request.EventRequestManager;

Fixed.

> test/jdk/com/sun/jdi/valhalla/CtorDebuggingTest.java line 228:
> 
>> 226:                             result = BreakpointResult.GOT_OFE;
>> 227:                             throw new RuntimeException(e);
>> 228:                         }
> 
> Q: The `OpaqueFrameException` is expected, is not it? Then why is a 
> `RuntimeException` thrown?

That was a leftover experiment that was removed with the latest commit, which I 
forgot to push before having you start the review.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33977#discussion_r4696649326
PR Review Comment: https://git.openjdk.org/jdk/pull/33977#discussion_r4696527806

Reply via email to