You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Armin Felke (Updated) (JIRA)" <ji...@apache.org> on 2012/03/05 17:33:58 UTC
[jira] [Updated] (FELIX-3374) Use of java.lang.Properties in iPOJO
Core
[ https://issues.apache.org/jira/browse/FELIX-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Armin Felke updated FELIX-3374:
-------------------------------
Description:
Setting the instance property "requires.filters" when property propagation is enabled for the component, results in the following error message:
"[ERROR] : The propagated property requires.filters cannot be created correctly : Constructor not found exception during the creation of class java.util.Properties : java.util.Properties.<init>(java.lang.String)"
It seems that iPOJO tries to create java.util.Properties as service property values incorrectly.
Btw, I am just curious, what is the current policy for handling collections of string/value pairs in the iPOJO/Felix source code? Class java.util.Directory seems to be obsolete and Properties is not as universal as the java.util.Map<> interface.
was:
Setting the instance property "requires.filters" when property propagation is enabled for the component, results in the following error message:
"[ERROR] : The propagated property requires.filters cannot be created correctly : Constructor not found exception during the creation of class java.util.Properties : java.util.Properties.<init>(java.lang.String)"
It seems that iPOJO tries to create java.util.Properties as service property values incorrectly.
Btw, I am just curious, what is the current policy of handling collections of string/value pairs in the iPOJO/Felix source code? Class java.util.Directory seems to be obsolete and Properties is not as universal as the java.util.Map<> interface.
> Use of java.lang.Properties in iPOJO Core
> -----------------------------------------
>
> Key: FELIX-3374
> URL: https://issues.apache.org/jira/browse/FELIX-3374
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: iPOJO-1.8.0
> Environment: JRE 6
> Apache Felix Framework 4.0.2
> Reporter: Armin Felke
>
> Setting the instance property "requires.filters" when property propagation is enabled for the component, results in the following error message:
> "[ERROR] : The propagated property requires.filters cannot be created correctly : Constructor not found exception during the creation of class java.util.Properties : java.util.Properties.<init>(java.lang.String)"
> It seems that iPOJO tries to create java.util.Properties as service property values incorrectly.
> Btw, I am just curious, what is the current policy for handling collections of string/value pairs in the iPOJO/Felix source code? Class java.util.Directory seems to be obsolete and Properties is not as universal as the java.util.Map<> interface.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira