You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Catherine Hope (JIRA)" <ji...@apache.org> on 2010/05/18 15:57:43 UTC

[jira] Created: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

[classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
-------------------------------------------------------------------------------------------------

                 Key: HARMONY-6510
                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Catherine Hope
            Priority: Minor


Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

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

Catherine Hope updated HARMONY-6510:
------------------------------------

    Attachment: 6510.patch

Patch moves null check into URLClassLoader.findResourcesImpl so that an empty list is still constructed and adds a regression testcase

> [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Priority: Minor
>         Attachments: 6510.patch
>
>
> Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

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

Catherine Hope closed HARMONY-6510.
-----------------------------------


Verified, thanks!

> [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Assignee: Tim Ellison
>            Priority: Minor
>             Fix For: 5.0M15
>
>         Attachments: 6510.patch
>
>
> Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878711#action_12878711 ] 

Hudson commented on HARMONY-6510:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #851 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/851/])
    Apply patch for HARMONY-6510 ([classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration)


> [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Assignee: Tim Ellison
>            Priority: Minor
>             Fix For: 5.0M15
>
>         Attachments: 6510.patch
>
>
> Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

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

Tim Ellison resolved HARMONY-6510.
----------------------------------

    Fix Version/s: 5.0M15
       Resolution: Fixed

Thanks Cath.

Patch applied to LUNI module at repo revision r954563.

Please verify it was applied as you expected.


> [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Assignee: Tim Ellison
>            Priority: Minor
>             Fix For: 5.0M15
>
>         Attachments: 6510.patch
>
>
> Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-6510) [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration

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

Tim Ellison reassigned HARMONY-6510:
------------------------------------

    Assignee: Tim Ellison

> [classlib][luni] URLClassLoader.findResources(null) returns null instead of an empty Enumeration 
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6510
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6510
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Catherine Hope
>            Assignee: Tim Ellison
>            Priority: Minor
>         Attachments: 6510.patch
>
>
> Calling URLClassLoader.findResources(null) returns null instead of an empty Enumeration.  According to the spec findResources returns an enumeration of a subset of the search path URLs that represent the named resource, and it doesn't define a different behaviour if the given resource is null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.