You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/02/12 16:01:40 UTC

[jira] Commented: (HARMONY-1718) [classlib][awt]Junit AWTRunner there is no JU icon on the window title

    [ 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.