RFR 8134420: sun/tools/jps/TestJpsClass fails with java.lang.RuntimeException: The line 'line 2' does not match pattern '^\\d+\\s+.*': expected true, was false

Dmitry Samersoff dmitry.samersoff at oracle.com
Wed Sep 2 18:25:20 UTC 2015


Looks good for me.

On 2015-09-02 21:21, Jaroslav Bachorik wrote:
> Please, review the following change
> 
> Issue : https://bugs.openjdk.java.net/browse/JDK-8134420
> Webrev: http://cr.openjdk.java.net/~jbachorik/8134420/webrev.00
> 
> Currently, 'jps' will print multi-line vm args as they are - eg.
> splitting the output into multiple lines. This kind of output is not
> very easy to read and, incidentally, it can break this test.
> 
> My proposal is to replace all '\n' and '\r' characters with "\n" and
> "\r" strings respectively to keep the output format being 'one line per
> one JVM'.
> 
> Thanks,
> 
> -JB-


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the serviceability-dev mailing list