Hi,
Could I please have a review of this fix.
Since VM warnings go to stderr the suggested fix is to check only stdout
for expected output and ignore warnings in stderr.
bug: https://bugs.openjdk.java.net/browse/JDK-8066106
webrev: http://cr.openjdk.java.net/~ykantser/8066106/webrev.00/
The
Hi Katja,
test/sun/tools/jps/JpsHelper.java
typo @ L183 - [E|e]xeption - [E|e]xception
Just to be sure: the java.lang.RuntimeException: Expected to get exit
value of [0] exception mentioned in the issue description is actually
caused by JpsBase failing because of the stale pid file error
Hi Jaroslav,
1. Thank you for the catch!
2. Right, the test inspects jps output buffer (stdout and stderr) and
expects the only jps related output appears there. But stderr may
contain VM warnings.
In description even Exception in thread main
java.lang.RuntimeException: The line 'Java
On 11/28/2014 03:51 PM, Yekaterina Kantserova wrote:
Hi Jaroslav,
1. Thank you for the catch!
2. Right, the test inspects jps output buffer (stdout and stderr) and
expects the only jps related output appears there. But stderr may
contain VM warnings.
In description even Exception in thread
Thanks!
On 11/28/2014 04:04 PM, Jaroslav Bachorik wrote:
On 11/28/2014 03:51 PM, Yekaterina Kantserova wrote:
Hi Jaroslav,
1. Thank you for the catch!
2. Right, the test inspects jps output buffer (stdout and stderr) and
expects the only jps related output appears there. But stderr may