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

Jiri Vanek jvanek at redhat.com
Tue Nov 19 04:58:46 PST 2013


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.



More information about the distro-pkg-dev mailing list