ELException: Cannot convert ... of type class java.lang.Long to class javax.el.LambdaExpression

2013-07-19 Thread Violeta Georgieva
Hi, I tried to test the different o.a.el.stream.Optional methods. Again I used one of our tests and modify it: (o.a.el.stream.TestCollectionOperations.testAverage03()) [].stream().average().orElseGet(()->64) I received: javax.el.ELException: Cannot convert 64 of type class java.lang.Long to

Re: ELException: Function ':v' not found

2013-07-19 Thread Violeta Georgieva
2013/7/19 Mark Thomas wrote: > > I was pleasantly surprised how little code change was required to get > this to work. That gives me confidence that the overall architecture is > correct and that what we are fixing here are effectively corner cases. > Great job!

[Bug 55282] New: JSF PhaseListeners are duplicated

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55282 Bug ID: 55282 Summary: JSF PhaseListeners are duplicated Product: Tomcat 7 Version: 7.0.42 Hardware: PC Status: NEW Severity: normal Priority: P2

Re: ELException: Function ':v' not found

2013-07-19 Thread Mark Thomas
On 19/07/2013 07:23, Violeta Georgieva wrote: > Hi, > > While I was playing with collections I decided to change a bit one of our > tests (o.a.el.stream.TestCollectionOperations.testMaxLambda01()) and > > instead of > > beans.stream().max((x,y)->x.name.compareTo(y.name)) > > I made it like this

[Bug 55281] Filter Security Issue

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55281 --- Comment #4 from Marco Slehiman --- Created attachment 30602 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30602&action=edit Servlet Filter with the issue -- You are receiving this mail because: You are the assignee for th

[Bug 55281] Filter Security Issue

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55281 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

svn commit: r1504878 - in /tomcat/trunk: java/org/apache/el/parser/AstFunction.java test/org/apache/el/stream/TestCollectionOperations.java

2013-07-19 Thread markt
Author: markt Date: Fri Jul 19 13:54:19 2013 New Revision: 1504878 URL: http://svn.apache.org/r1504878 Log: Fix passing lambda expressions as parameters. Modified: tomcat/trunk/java/org/apache/el/parser/AstFunction.java tomcat/trunk/test/org/apache/el/stream/TestCollectionOperations.java

[Bug 55281] Filter Security Issue

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55281 Marco Slehiman changed: What|Removed |Added CC||slehi...@hotmail.com --- Comment

[Bug 55281] Filter Security Issue

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55281 --- Comment #1 from Marco Slehiman --- Created attachment 30600 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30600&action=edit web.xml -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 55281] New: Filter Security Issue

2013-07-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=55281 Bug ID: 55281 Summary: Filter Security Issue Product: Tomcat 7 Version: 7.0.42 Hardware: PC OS: Windows XP Status: NEW Severity: normal Pr

svn commit: r1504834 - /tomcat/trunk/java/org/apache/el/parser/AstLambdaExpression.java

2013-07-19 Thread markt
Author: markt Date: Fri Jul 19 11:23:37 2013 New Revision: 1504834 URL: http://svn.apache.org/r1504834 Log: Do the scanning to count nesting levels and presence of formal parameters just once. Simplify the checks during getValue() using the results of this new scan. Modified: tomcat/trunk/ja