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/10 14:47:03 UTC

[jira] [Created] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

Jamie goodyear created KARAF-1907:
-------------------------------------

             Summary: Compile error using IBM JDK on OSGi Shell ListBundleServices
                 Key: KARAF-1907
                 URL: https://issues.apache.org/jira/browse/KARAF-1907
             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/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/publickey/PublickeyLoginModule.java:[95,33] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[73,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[120,44] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[135,35] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[150,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[172,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesLoginModule.java:[86,33] error: incompatible types
{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-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

Note: Oracle JDK 6 on Windows compiles the code, HOWEVER, Oracle JDK 7 on Windows has the same compile error.
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

[KARAF-1907] Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7

 Java 7 does not compile ServiceReference with wild card generic Java 7 does not compile ServiceReference with wild card generic. Removing <?> to allow wider JDK support.

Sending        shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
Transmitting file data .
Committed revision 1397138.
                
> Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Resolved] (KARAF-1907) Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7

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

Jamie goodyear resolved KARAF-1907.
-----------------------------------

    Resolution: Fixed
    
> Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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-1907) Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7

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

Jamie goodyear updated KARAF-1907:
----------------------------------

    Summary: Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7  (was: Compile error using IBM JDK on OSGi Shell ListBundleServices)
    
> Compile error: type ServiceReference does not take parameters on OSGi Shell ListBundleServices using JDK 7
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

I have a local workaround for this compile issue.
It's not the prettiest however.. need to test it on a few other JVMs.
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

Note: IBM JDK 6 and 7 both exhibit the same compile error.
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Freeman Fang commented on KARAF-1907:
-------------------------------------

Also encounter this with Oracle JDK7
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear updated KARAF-1907:
----------------------------------

    Description: 
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}

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

{code}
[INFO] Compilation failure

/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/publickey/PublickeyLoginModule.java:[95,33] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[73,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[120,44] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[135,35] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[150,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesBackingEngine.java:[172,36] error: incompatible types
  required: String
  found:    Object
/x1/karaf/karaf-2.3.x/jaas/modules/src/main/java/org/apache/karaf/jaas/modules/properties/PropertiesLoginModule.java:[86,33] error: incompatible types
{code}

    
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Achim Nierbeck commented on KARAF-1907:
---------------------------------------

According to this entry at Stackoverflow this might be an issue of the JDK7

http://stackoverflow.com/questions/8637937/why-does-a-generic-cast-of-a-list-extends-set-to-listset-succeed-on-sun

>From what I found it somehow is related to Collections and arrays ... 
which kind of fits to the issue we do have here. 
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

Note: Oracle JDK 1.7 on Mac OSX 10.7.5 fails to compile in the same way.


                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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] [Commented] (KARAF-1907) Compile error using IBM JDK on OSGi Shell ListBundleServices

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

Jamie goodyear commented on KARAF-1907:
---------------------------------------

On the IBM JDK the issue appears to be that it doesn't like the use of "<?>".
                
> Compile error using IBM JDK on OSGi Shell ListBundleServices
> ------------------------------------------------------------
>
>                 Key: KARAF-1907
>                 URL: https://issues.apache.org/jira/browse/KARAF-1907
>             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