harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruth Cao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list
Date Mon, 19 Mar 2007 02:05:09 GMT
[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


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