You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ruth Cao (JIRA)" <ji...@apache.org> on 2007/03/19 03:05:09 UTC

[jira] Created: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list

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


[jira] Updated: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list

Posted by "Ruth Cao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruth Cao updated HARMONY-3419:
------------------------------

    Attachment: Harmony-3419.diff

May someone pls try this?

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


[jira] Assigned: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list

Posted by "Richard Liang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Liang reassigned HARMONY-3419:
--------------------------------------

    Assignee: 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
>         Assigned To: 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.


[jira] Resolved: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (HARMONY-3419) [classlib][testing]Move tests.api.java.net.URLClassLoaderTest out of exclude list

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ 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.