RFR JDK-8218702: [TESTBUG] com/sun/jdi/RepStep.java does not report debuggee errors

Alex Menkov alexey.menkov at oracle.com
Wed Feb 13 00:45:56 UTC 2019


Hi Chris,

Most of JDI tests use helper classes (VMConnection or Debuggee) which 
redirect debuggee outputs.
LaunchingConnector is used only by RepStep, SunBootClassPathEmptyTest 
and DebugUsingCustomConnector and only RepStep really performs debugging 
(SingleStepping).

--alex

On 02/11/2019 18:32, Chris Plummer wrote:
> How is this test different from other JDI tests in its handling of 
> stdout and stderr? Why is it a special case that needs this fix?
> 
> Chris
> 
> On 2/11/19 3:59 PM, Alex Menkov wrote:
>> Hi all,
>>
>> please review the fix for
>> https://bugs.openjdk.java.net/browse/JDK-8218702
>> webrev:
>> http://cr.openjdk.java.net/~amenkov/RepStep_redirect/webrev/
>>
>> The fix adds events logging and debuggee stdout/stderr redirection 
>> (the test now logs crash in debuggee as described in JDK-8043571)
>>
>> --alex
> 
> 


More information about the serviceability-dev mailing list