You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/02/25 01:01:28 UTC
[jira] Resolved: (HARMONY-3419) [classlib][testing]Move
tests.api.java.net.URLClassLoaderTest out of exclude list
[ https://issues.apache.org/jira/browse/HARMONY-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess resolved HARMONY-3419.
-----------------------------------
Resolution: Fixed
The URLClassLoaderTest has been removed from the exclude list so I assume this is resolved.
> [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: Richard Liang
> 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.