camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8160) Generic methods used as endpoints fail in Java 8
Date Sun, 21 Dec 2014 12:25:13 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Babak Vahdat updated CAMEL-8160:
--------------------------------
    Affects Version/s:     (was: 2.14.1)
        Fix Version/s: 2.15.0
                       2.14.2

> Generic methods used as endpoints fail in Java 8
> ------------------------------------------------
>
>                 Key: CAMEL-8160
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8160
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.14.0
>         Environment: mac, java 8
>            Reporter: Andrew Celerity
>            Assignee: Babak Vahdat
>             Fix For: 2.14.2, 2.15.0
>
>         Attachments: cameljava8.zip
>
>
> In Java 8 annotations are duplicated to generics' bridge methods.  Camel, rightly, does
not support bridge methods as endpoints.  However, because of this change in the language
annotations such as @Consume will end up on them after compilation leaving Camel in an invalid
state.
> I will attach a sample project.
> This ticket is from this discussion thread: http://camel.465427.n5.nabble.com/Changes-in-Java-8-generics-breaking-Camel-td5760638.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message