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

Felix framework uses a Java5 method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: framework-2.0.5
    • Fix Version/s: framework-3.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Linux Ubuntu i386, OpenMika VM 1.4.6

      Description

      The Felix framework uses the String.contains(CharSequence) method that is NOT part of the OSGi minimum EE. This result in a failure when launching Felix in Java 1.4 and lower EE (such as Mika).

      org.apache.felix.framework.Felix.java:3699
      if (toRet.contains("${pom"))

      should, by example, be replaced by
      if (toRet.indexOf("${pom") >= 0)

      (sorry, no patch quickly available

        Attachments

          Activity

            People

            • Assignee:
              rickhall Richard S. Hall
              Reporter:
              pierre.bourret Pierre Bourret
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified