[
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