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 16:13:52 UTC

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

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