Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1907

Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:

      [INFO] Compilation failure
      
      /x1/karaf/karaf-2.3.x/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java:[51,62] error: type ServiceReference does not take parameters
      /x1/karaf/karaf-2.3.x/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java:[99,49] error: type ServiceReference does not take parameters
      /x1/karaf/karaf-2.3.x/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java:[46,28] error: type ServiceReference does not take parameters
      /x1/karaf/karaf-2.3.x/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java:[59,29] error: type ServiceReference does not take parameters
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jgoodyear Jamie goodyear
                Reporter:
                jgoodyear Jamie goodyear
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: