[jboss-jira] [JBoss JIRA] (JASSIST-217) javassist does not work with java8 and lambda
Sachin Dole (JIRA)
issues at jboss.org
Thu Jan 16 13:46:33 EST 2014
Sachin Dole created JASSIST-217:
-----------------------------------
Summary: 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
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