You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2012/10/11 00:31:03 UTC

[jira] [Created] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Jamie goodyear created KARAF-1909:
-------------------------------------

             Summary: Compile error using IBM JDK on management mbeans SystemMBeanImpl
                 Key: KARAF-1909
                 URL: https://issues.apache.org/jira/browse/KARAF-1909
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
    Affects Versions: 2.3.0
            Reporter: Jamie goodyear
            Assignee: Jamie goodyear
            Priority: Blocker
             Fix For: 2.3.0


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

{code}
[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
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear updated KARAF-1909:
----------------------------------

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

{code}
[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
{code}

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

{code}
[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
{code}

    
> Compile error using IBM JDK on management mbeans SystemMBeanImpl
> ----------------------------------------------------------------
>
>                 Key: KARAF-1909
>                 URL: https://issues.apache.org/jira/browse/KARAF-1909
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.0
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473730#comment-13473730 ] 

Jamie goodyear commented on KARAF-1909:
---------------------------------------

[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.
                
> Compile error using IBM JDK on management mbeans SystemMBeanImpl
> ----------------------------------------------------------------
>
>                 Key: KARAF-1909
>                 URL: https://issues.apache.org/jira/browse/KARAF-1909
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.0
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Work started] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1909 started by Jamie goodyear.

> Compile error using IBM JDK on management mbeans SystemMBeanImpl
> ----------------------------------------------------------------
>
>                 Key: KARAF-1909
>                 URL: https://issues.apache.org/jira/browse/KARAF-1909
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.0
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear resolved KARAF-1909.
-----------------------------------

    Resolution: Fixed
    
> Compile error using IBM JDK on management mbeans SystemMBeanImpl
> ----------------------------------------------------------------
>
>                 Key: KARAF-1909
>                 URL: https://issues.apache.org/jira/browse/KARAF-1909
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.0
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1909) Compile error using IBM JDK on management mbeans SystemMBeanImpl

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473627#comment-13473627 ] 

Jamie goodyear commented on KARAF-1909:
---------------------------------------

"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
                
> Compile error using IBM JDK on management mbeans SystemMBeanImpl
> ----------------------------------------------------------------
>
>                 Key: KARAF-1909
>                 URL: https://issues.apache.org/jira/browse/KARAF-1909
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.3.0
>            Reporter: Jamie goodyear
>            Assignee: Jamie goodyear
>            Priority: Blocker
>             Fix For: 2.3.0
>
>
> Build 2.3.0-SNAPSHOT with IBM JDK, will observe compile errors:
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira