Default setting for -retain

Christian Törnqvist christian.tornqvist at oracle.com
Mon Jan 21 05:06:48 PST 2013


Hi everyone,

 

>From the docs of the -retain flag:

 

"Specify files to be retained after each test completes executing. If -retain is not specified, only the files from the last test executed will be retained. If -retain is specified with no argument, all files will be retained. "

 

I think the default value should be to retain the files from all failed tests. I recently ended up spending over an hour reproducing an intermittent JVM crash (to get the hs_err and core file that wasn't saved the first time) since I had forgot to add -retain:fail to my command line when running the tests.

 

Best regards,

Christian


More information about the jtreg-dev mailing list