[jboss-jira] [JBoss JIRA] (JASSIST-217) javassist does not work with java8 and lambda

Sachin Dole (JIRA) issues at jboss.org
Fri Jan 17 11:08:33 EST 2014


    [ https://issues.jboss.org/browse/JASSIST-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936663#comment-12936663 ] 

Sachin Dole commented on JASSIST-217:
-------------------------------------

I am sorry, the bug is with ASM not with javassist. https://java.net/jira/browse/HK2-136 closing.
                
> javassist does not work with java8 and lambda
> ---------------------------------------------
>
>                 Key: JASSIST-217
>                 URL: https://issues.jboss.org/browse/JASSIST-217
>             Project: Javassist
>          Issue Type: Feature Request
>    Affects Versions: 3.18.1-GA
>         Environment: weld+tomcat
>            Reporter: Sachin Dole
>            Assignee: Shigeru Chiba
>            Priority: Blocker
>              Labels: java8, lambda
>
>   I upgraded my tomcat webapp project which uses weld CDI to use JDK8 and wrote code using the new java.util Streams and lambda constructs. weld failed to start up because javassist could not deal with lambda. the work around is to use java7 style explicit classes instead of lambda - that works just like expected.
> I REALLY like java 8's stream and related collections features and want to use it. lambda constructs are also good because these reduce lines of code. 
> Is there a plan to fix support for java8?
> If its needed, I will be happy to produce a project that fails in java8. however, it is totally evident in the simplest of use cases as long as you use lambda.

--
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


More information about the jboss-jira mailing list