Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2749

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • framework-3.0.7
    • framework-3.0.8
    • Framework
    • None
    • J2SE 1.4 with upcoming 3.0.7 release.

    Description

      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.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            iyamasaki Ikuo YAMASAKI
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: