Correct. jtreg doesn't like System.exit() but I also understand that shell
tests are now highly frowned upon.
So either
1) Run using "othervm" where calling System.exit() should be fine - I think !?
2) Don't worry about it, assuming jtreg can clean up if needed. If it can't
halt the test threads then that seems to be a different problem that I'd
expect occurs in many tests.

-phil.

On 12/12/2014 10:15 AM, Mario Torre wrote:
On Fri, 2014-12-12 at 10:11 -0800, Phil Race wrote:
Hi Mario,

I don't understand why your test needs a shell script to compile it ?

Once we've resolved that question,   and you get a 2nd review, feel
free to push.
Sure, on my system the test randomly hangs if I don't call
System.exit(0) from the printing thread, but jtreg doesn't like
System.exit to be called, so basically the tests never exits.

I'm happy to revisit the code if you know how I can make the program
exit normally :)

Cheer,
Mario



Reply via email to