[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [FYI] Fix JTreg test (java/awt/Graphics/DrawImageBG/SystemBgColorTest.java)
From:       omajid () redhat ! com (Omair Majid)
Date:       2009-03-30 18:42:57
Message-ID: 49D112B1.4040605 () redhat ! com
[Download RAW message or body]

Hi,

The attached patch fixes 
java/awt/Graphics/DrawImageBG/SystemBgColorTest.java by removing the 
System.exit() call. JTreg installs a SecurityManager that doesnt allow 
shutting down the JVM; doing a System.exit() will trigger a security 
exception and cause the test to fail.

ChangeLog:
2009-03-30  Omair Majid  <omajid at redhat.com>

     * patches/icedtea-jtreg-colortest.patch: New patch. Remove the
       System.exit() call that was causing the test to fail.
     * Makefile.am: Apply the above.
     * HACKING: Document the above.

Cheers,
Omair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jtreg-colortest.patch
Type: text/x-patch
Size: 1664 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20090330/4e9e5ffe/attachment.bin 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic