harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list
Date Thu, 25 Feb 2010 00:01:28 GMT

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

Mark Hindess closed HARMONY-3419.
---------------------------------

    Assignee: Mark Hindess  (was: Richard Liang)

> [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-3419
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3419
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Ruth Cao
>            Assignee: Mark Hindess
>         Attachments: Harmony-3419.diff
>
>
> Now t.a.j.n.URLClassLoaderTest fails due to the following reasons:
> 1. Lack of an embedded HTTP server.
> 2. Some wrong assertions exist in the test, which make it fails on both RI and Harmony.
> e.g. URLClassLoader loader = new URLClassLoader(new URL[] { null });
>         try {
>             Class.forName("test", false, loader);
>             fail("Should throw ClassNotFoundException");
>         } catch (ClassNotFoundException e) {
>             // expected
>         }
> I'll create a patch to fix this issue. After that, URLClassLoaderTest  can be moved out
of the exclude list. Thanks.

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