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] Commented: (HARMONY-1718) [classlib][awt]Junit AWTRunner there is no JU icon on the window title
Date Mon, 12 Feb 2007 15:01:40 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472313
] 

Andrey Pavlenko commented on HARMONY-1718:
------------------------------------------

This issue is caused by incorrect handling of an image content. The following test case demonstrates
the issue:

    public void test() throws IOException {
        assertTrue(BaseTestRunner.class.getResource("smalllogo.gif") //$NON-NLS-1$
                .getContent() instanceof ImageProducer);
    }

In the Junit UI implementation it's expected that the object, returned by URL.getContent()
should be of type java.awt.image.ImageProducer but on Harmony this object is of type JarURLConnectionInputStream.
So, the issue is in the URL content handler, but not in AWT.

Ilya, could you please change the component to [luni]?

> [classlib][awt]Junit AWTRunner there is no JU icon on the window title
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-1718
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1718
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>
> AWTRunner: there is no JU icon on the window title and between Run
> buttons. 
> Steps to Reproduce:
> 1.  java -cp junit.jar  junit.awtui.TestRunner
> Result: there is no JU icon on window title and between "Run" buttons.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message