harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Okomin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2683) [classlib][awt] java.awt.BufferCapabilities.isMultiBufferAvailable() returns true on Harmony while it returns false on RI
Date Thu, 14 Dec 2006 10:19:21 GMT
[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


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