You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/02/04 12:26:28 UTC

[jira] Resolved: (FELIX-2771) Configuration Admin does not work on Foundation 1.2 and Mika

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

Felix Meschberger resolved FELIX-2771.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: configadmin-1.2.10
         Assignee: Felix Meschberger

Thanks for reporting these issues.

I have fixed them in Rev. 1067154 as follows:

   PrivilegedActionException: use getException() instead of getCause()
   Boolean.valueOf(boolean): use boolean ? TRUE : FALSE
   SecureRandom: fall back to Random   

> Configuration Admin does not work on Foundation 1.2 and Mika
> ------------------------------------------------------------
>
>                 Key: FELIX-2771
>                 URL: https://issues.apache.org/jira/browse/FELIX-2771
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions:  configadmin-1.2.8
>            Reporter: Clement Escoffier
>            Assignee: Felix Meschberger
>            Priority: Minor
>             Fix For: configadmin-1.2.10
>
>
> The configuration admin implementation uses classes and methods not available in Foundation and/or Mika.
> In Foundation:
> The method getCause() is undefined for the type PrivilegedActionException
> The method valueOf(String) in the type Boolean does not exist for the arguments (boolean)
> On Mika, the SecureRandom class is not available:
> couldn't find a SecureRandom
> 	at java.security.SecureRandom.<init>(SecureRandom.java:78)
> 	at org.apache.felix.cm.impl.ConfigurationManager.createPid(ConfigurationManager.java:870)
> 	at org.apache.felix.cm.impl.ConfigurationManager.createFactoryConfiguration(ConfigurationManager.java:450)
> 	at org.apache.felix.cm.impl.ConfigurationAdminImpl.createFactoryConfiguration(ConfigurationAdminImpl.java:84)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira