-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Currently the coercion rules mandate that the conversion from String to Long is done via Long.parseLong(String), but this method cannot parse the exponential notation of Long values.
The activate method has thrown an exception (org.apache.felix.log.LogException: org.osgi.service.component.ComponentException: java.lang.NumberFormatException: For input string: "1.2e+07")
org.apache.felix.log.LogException: org.osgi.service.component.ComponentException: java.lang.NumberFormatException: For input string: "1.2e+07"
at org.apache.felix.scr.impl.inject.internal.Annotations$Handler.invoke(Annotations.java:379) [org.apache.felix.scr:2.2.12]
at my.own.$Proxy193.aLongProperty(Unknown Source) [mybundle]
at my.own.component.activate(component.java:229) [mybundle]
Metadata
Metadata
Assignees
Labels
No labels