You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gerolf Seitz (JIRA)" <ji...@apache.org> on 2007/08/25 05:35:30 UTC

[jira] Updated: (WICKET-885) ResourceSettings#getStringResourceLoaders throws an ArrayStoreException

     [ https://issues.apache.org/jira/browse/WICKET-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerolf Seitz updated WICKET-885:
--------------------------------

    Attachment: getStringResourceLoader.patch

> ResourceSettings#getStringResourceLoaders throws an ArrayStoreException
> -----------------------------------------------------------------------
>
>                 Key: WICKET-885
>                 URL: https://issues.apache.org/jira/browse/WICKET-885
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-jmx
>    Affects Versions: 1.3.0-beta2
>            Reporter: Gerolf Seitz
>            Priority: Minor
>             Fix For: 1.3.0-beta4
>
>         Attachments: getStringResourceLoader.patch
>
>
> the current implementation throws an ArrayStoreException, because a list (containing IResourceStringLoader objects) is converted to a String[], which fails because String is not a supertype of at least one IResourceStringLoader object (and since String is final, it'll never be a supertype anyway).

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