[rfc][icedtea-web] Reproducer touch-up for JNLPClassLoaderDeadlock

Andrew Azores aazores at redhat.com
Tue Nov 26 07:55:26 PST 2013

On 11/19/2013 07:58 AM, Jiri Vanek wrote:
> On 11/14/2013 07:32 PM, Andrew Azores wrote:
>> The JNLPClassLoaderDeadlock reproducer was occasionally failing, IMO 
>> wrongly. The second applet's output would not appear in the stdout 
>> and so the test would fail, even though the first applet could be 
>> observed to have run, and so a deadlock did not seem to have taken 
>> place. I think what was happening was that the first applet ran, 
>> produced the "magical closing string", and the browser would begin to 
>> close before the second applet ever run. This patch fixes the test to 
>> accommodate for this, making the test more reliable (at least on my 
>> system).
>> Thanks,
> Isnt best to have both applets to let them print out heir end?
> System.out.println("*** APPLET 1 FINISHED ***");
> System.out.println("*** APPLET 2 FINISHED ***");
> And then wait for both strings in clsoing listener/passed assert?
> J.

Yea, probably better that way.


Andrew A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jnlpclassloaderdeadlock-touchup.patch
Type: text/x-patch
Size: 2788 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131126/f9824167/jnlpclassloaderdeadlock-touchup.patch 

More information about the distro-pkg-dev mailing list