You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2007/11/06 22:14:50 UTC

[jira] Resolved: (FELIX-416) Detect J9 bug and avoid using Collections.unmodifiable if the bug is present

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

Karl Pauls resolved FELIX-416.
------------------------------

    Resolution: Fixed

We detect the bug dynamically and use a modifiable map in case it is present.

> Detect J9 bug and avoid using Collections.unmodifiable if the bug is present
> ----------------------------------------------------------------------------
>
>                 Key: FELIX-416
>                 URL: https://issues.apache.org/jira/browse/FELIX-416
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>
> I have a case where a specific version of J9 does throw a NCDF exception if Collections.unmodifiable* is used. Since the use of this is somewhat optional in our case I plan to add a check to detect whether this bug is present and if so, don't wrap the collection.

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