[RFC][icedtea6]: jtreg test fix.

Denis Lila dlila at redhat.com
Wed Jun 15 11:45:41 PDT 2011


Hi.

Attached is a fix for the regression test I
backported a few days ago. The test used to
hang indefinitely because it created a JFrame
and never disposed it. Even when the test failed
with an NPE and thread "main" was killed by it,
didn't end because the undisposed frame kept the
awt threads alive.

The patch adds a finally block which disposes the
frame.

ChangeLog:
2011-06-15  Denis Lila  <dlila at redhat.com>

    * Makefile.am: Add patch.
    * patches/jtreg-bug7036148-test.patch:
    Fix regression test. It used to never end, regardless of
    success/failure.


Ok to push? (to head and 1.10, since that's where the
backport that introduced this problem went)

Regards,
Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad-jtreg-test.patch
Type: text/x-patch
Size: 1407 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110615/39232e3a/bad-jtreg-test.patch 


More information about the distro-pkg-dev mailing list