After jdb processes a command, eg, 'step', it (the main thread) prints
a prompt, eg '>'. When the event handler thread gets an
event, the event handler sometimes prints a line, eg:
'Step completed: ...'.
There is no synch between these prints which means that the
prompt can appear in the middle of the event handler msg, eg:
St>ep completed: ....
This is a bit ugly for the user to have to see, but more importantly,
it can make jdb tests that expect particular strings in the output
fail. We have seen this in the test JdbMethodExitTest.sh on solaris-sparc64.
xxxxx@xxxxx 2005-1-24 20:21:06 GMT
This bug affects the following test:
xxxxx@xxxxx 2005-03-11 00:57:16 GMT
This test is also known as:
Posted Date : 2007-03-07 17:02:22.0
A couple of thoughts on this bug:
- change the test program's compare function to try a more
tolerant compare if the straight forward compare fails
- fix jdb to synchronize output between the different
threads (command processor, event handler, stdout handler, etc)
Posted Date : 2007-03-09 18:44:19.0