2011/3/27 12:09 -0700, alan.bate...@oracle.com: > Mandy Chung wrote: >> 6381464: SimpleFormatter should use one single line format >> >> ... >> Webrev at: >> http://cr.openjdk.java.net/~mchung/jdk7/6381464/webrev.00/ > ... > > In the test would it be better to use a temporary file rather than a file in > the working directory.
Why? Unless something's changed, the jtreg harness provides each test run with a fresh working directory. Creating scratch files in the current directory is more convenient when writing a test and also more convenient when debugging a test outside of the harness. - Mark