Hi Yuri, All, Bug: https://bugs.openjdk.java.net/browse/JDK-8151621 webrev: http://cr.openjdk.java.net/~psadhukhan/8151621/webrev.00/
It seems when the testcase is executed through jtreg, the main thread finishes without waiting for any user action. Added a sleep time and modified the testcase to wait for user interaction to finish which will then notify the main thread of completion .
Regards Prasanta