felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-4010) SCR Plugin aborts when scanning a Java 8 class file
Date Fri, 26 Apr 2013 18:24:16 GMT

    [ https://issues.apache.org/jira/browse/FELIX-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643102#comment-13643102

Felix Meschberger commented on FELIX-4010:

Currently the SCR annotations assume class extension support: That is, if a @Component annotated
class extends another class, that super class is scanned for annotations.

We could introduce a @Component boolean attribute "scanSuper" which defaults to true. If the
attribute is set to false, a base class will not be scanned.
> SCR Plugin aborts when scanning a Java 8 class file
> ---------------------------------------------------
>                 Key: FELIX-4010
>                 URL: https://issues.apache.org/jira/browse/FELIX-4010
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: maven-scr-plugin-1.11.0
>            Reporter: Felix Meschberger
> It looks like the ASM library referred to by the SCR plugin is not compatible with Java
8 class file version 52.
> How to reproduce: Use Java 8 to run a maven based project build where at least one of
the @Component annotated classes extend (or implement) a Java 8 runtime provided class, e.g.
java.io.Serializable, in class file version 52.

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

View raw message