harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (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 Wed, 10 Jan 2007 11:58:27 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Zakharov updated HARMONY-2683:
-------------------------------------

    Patch Info: [Patch Available]

> [classlib][awt] java.awt.BufferCapabilities.isMultiBufferAvailable() returns true on
Harmony while it returns false on RI
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2683
>                 URL: https://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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message