Max,
Does this overlap with the testlibrary for supporting muli-process tests
that Katja Kantserova added recently?
-Alan.
On 13/03/2013 11:18, Weijun Wang wrote:
http://cr.openjdk.java.net/~weijun/8009977/webrev.00
/**
* This is a test library that makes writing a Java test that spawns
multiple
* Java processes easily.
*
* Usage:
*
* Proc.create("Clazz") // The class to launch
* .args("x") // with args
* .env("env", "value") // and an environment variable
* .prop("key","value") // and a system property
* .perm(perm) // with granted permissions
* .start(); // and start
*
*
* The controller can call inheritIO to share its I/O to the process.
* Otherwise, it can send data into a proc's stdin with write/println,
and
* read its stdout with readLine, and stderr is redirected to a file.
....
Thanks
Max