camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Celerity (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-8160) Generic methods used as endpoints fail in Java 8
Date Wed, 17 Dec 2014 16:55:14 GMT

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

Andrew Celerity updated CAMEL-8160:
-----------------------------------
    Description: 
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

  was:
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.


> 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, 2.14.1
>         Environment: mac, java 8
>            Reporter: Andrew Celerity
>         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