Boolean.parseBoolean() newly defined in Java5 should not be used.
-----------------------------------------------------------------

                 Key: FELIX-2749
                 URL: https://issues.apache.org/jira/browse/FELIX-2749
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-3.0.6
         Environment: J2SE 1.4 with upcoming 3.0.7 release.

            Reporter: Ikuo YAMASAKI
            Priority: Minor


For 3.0.7 release, the framework cannot run on J2SE 1.4 or CDC FP1.1 because 
Boolean.parseBoolean() is used.
---
Exception in thread "main" java.lang.NoSuchMethodError: 
java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:113)
        at org.apache.felix.framework.Felix.init(Felix.java:593)
        at org.apache.felix.main.Main.main(Main.java:288)
---
Those methods newly defined in Java 5 should not be used.

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

Reply via email to