It seems jtreg uses test.jdk and not test.java so modified test program to check for test.jdk to differentiate between jtreg and non-jtreg execution
Modified webrev
http://cr.openjdk.java.net/~psadhukhan/7077412/webrev.01

Regards
Prasanta
On 10/26/2015 3:10 PM, prasanta sadhukhan wrote:
Hi All,

Please review a small fix in the test program.

Bug: https://bugs.openjdk.java.net/browse/JDK-7077412
webrev: http://cr.openjdk.java.net/~psadhukhan/7077412/webrev.00/

PaintText.java checks for test.java system property and if not found then it opens up a printer dialog and waits for user to press Print/Cancel.
In jtreg execution too, TESTJAVA was not set resulting in timeout.
Fix was to remove the test.java check since it does not affect the test flow.

Regards
Prasanta

Reply via email to