Karaf
  1. Karaf
  2. KARAF-1909

Compile error using IBM JDK on management mbeans SystemMBeanImpl

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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/skaraf-2.3.x/management/mbeans/system/src/main/java/org/apache/karaf/management/mbeans/system/internal/SystemMBeanImpl.java:[119,72] error: cannot find symbol
        symbol:   method setStartLevel(int,<null>)
        location: class Object
      /x1/karaf/skaraf-2.3.x/management/mbeans/system/src/main/java/org/apache/karaf/management/mbeans/system/internal/SystemMBeanImpl.java:[123,79] error: cannot find symbol
      

        Issue Links

          Activity

          Hide
          Jamie goodyear added a comment -

          "FrameworkStartLevel.setStartLevel(startLevel, null)" should be an ok call to make according to the API:
          http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/startlevel/FrameworkStartLevel.html

          Show
          Jamie goodyear added a comment - "FrameworkStartLevel.setStartLevel(startLevel, null)" should be an ok call to make according to the API: http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/startlevel/FrameworkStartLevel.html
          Hide
          Jamie goodyear added a comment -

          KARAF-1909 Compile error using IBM JDK on management mbeans SystemMBeanImpl

          Adding explicit casts for IBM JDK compatibility.

          Sending management/mbeans/system/src/main/java/org/apache/karaf/management/mbeans/system/internal/SystemMBeanImpl.java
          Transmitting file data .
          Committed revision 1396871.

          Show
          Jamie goodyear added a comment - KARAF-1909 Compile error using IBM JDK on management mbeans SystemMBeanImpl Adding explicit casts for IBM JDK compatibility. Sending management/mbeans/system/src/main/java/org/apache/karaf/management/mbeans/system/internal/SystemMBeanImpl.java Transmitting file data . Committed revision 1396871.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development