Code review request: 8009977: A test library to launch multiple Java processes (using krb5 as an example)

Weijun Wang weijun.wang at oracle.com
Wed Mar 13 11:18:35 UTC 2013


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




More information about the security-dev mailing list