ELException: Function ':v' not found

2013-07-19 Thread Violeta Georgieva
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: comparison = v-(x,y)-v(x).compareTo(v(y))

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:

[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

[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 slehi...@hotmail.com --- Created attachment 30600 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30600action=edit web.xml -- You are receiving this mail because: You are the assignee for the

[Bug 55281] Filter Security Issue

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

[Bug 55281] Filter Security Issue

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

[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 slehi...@hotmail.com --- Created attachment 30602 -- https://issues.apache.org/bugzilla/attachment.cgi?id=30602action=edit Servlet Filter with the issue -- You are receiving this mail because: You are

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:

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