RFR(S): 8060707: jdwp accept invalid address ':'

Sergei Kovalev sergei.kovalev at oracle.com
Wed Oct 29 08:45:37 UTC 2014


Hi Team,

Could you please review following patch that fix the tests.

Bug: https://bugs.openjdk.java.net/browse/JDK-8060707
Webrev: http://cr.openjdk.java.net/~iignatyev/skovalev/8060707/webrev.00/

Problem:
A test failed because of wrong assumption that stderr always starts with 
"ERROR" string in case of error

Cause:
On some embedded platforms (ARM-SFLT) in case we provide VM option: 
"-XX:NativeMemoryTracking=detail" VM print out a warning first: "/NMT 
detail is not supported on this platform. Using NMT summary instead./" 
ant then printout error message.

Solution:
Look up "^ERROR: transport error " pattern in whole message, not only in 
the very begin.

Testing done:
Test launched manually on the host where it initially failed. Used 
different set of VM options to get different kind of output.

-- 
With best regards,
Sergei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20141029/34076304/attachment.html>


More information about the serviceability-dev mailing list