[ 
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

Reply via email to