harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2683) [classlib][awt] java.awt.BufferCapabilities.isMultiBufferAvailable() returns true on Harmony while it returns false on RI
Date Tue, 26 Dec 2006 12:40:26 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2683?page=all ]

Andrey Pavlenko updated HARMONY-2683:
-------------------------------------

    Attachment: BufferCapabilities.patch
                BufferCapabilitiesTest.patch

The patch and the regression test are attached.

> [classlib][awt] java.awt.BufferCapabilities.isMultiBufferAvailable() returns true on
Harmony while it returns false on RI
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2683
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>         Attachments: BufferCapabilities.patch, BufferCapabilitiesTest.patch
>
>
> java.awt.BufferCapabilities.isMultiBufferAvailable() returns true on Harmony while it
returns false on RI. 
> Next test case passes on RI and fails on Harmony: 
> -------------- test.java --------------- 
> import java.awt.BufferCapabilities; 
> import java.awt.ImageCapabilities; 
> import junit.framework.TestCase; 
> import junit.textui.TestRunner; 
> public class test extends TestCase { 
>     public static void main(String args[]) { 
>         TestRunner.run(test.class); 
>     } 
>     public void testRun() { 
>         BufferCapabilities bfc = new BufferCapabilities(
>                 new ImageCapabilities(false),
>                 new ImageCapabilities(false),
>                 null);
>         assertFalse(bfc.isMultiBufferAvailable());
>     } 
> } 
> ------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message