This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Please try following in JSP: ${[1,2,3].reverse().} and invoke cc after "." => no suggestions However this (albeit stupid) ${[1,2,3].reverse(a).} works fine. As if there has to be some parameter to get code completion Product Version: NetBeans IDE Dev (Build web-main-javaee7-189-on-20130327) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
BTW. there came specification change that ListData like [1,2,3] requires stream() call before the operator like ... ${[1,2,3].stream().reverse().} And also there changed operators, pretty big last time changes. :/ In any case I'm pretty sure that it will fail also with the correct notation. ;) Thanks for reporting.
#{[1, 2, 3, 4, 5].stream().distinct().} reverse() doeesn't exist in opperators yet, but you can try it i.e. with distinct() now. Fixed in web-main #7a1ef29529ab.
Thanks for fixing. What do you mean by "reverse() doeesn't exist in opperators yet" ? Does it mean that not all operators from [1] are actually supposed to be working/being implemented? [1] http://java.net/projects/el-spec/pages/CollectionOperations
(In reply to comment #3) > What do you mean by "reverse() doeesn't exist in opperators yet" ? Sorry, badly said: "reverse() doeesn't exist in opperators any more". > Does it mean that not all operators from [1] are actually supposed to be > working/being implemented? Exactly, they re-worked the operators support according to the JDK8. I suppose that they are doing all operations manually now (for JDK6, JDK7) but they plan to keep it on JVM to sort, filter etc. in future. So yes, link you provided is not up to date. I think that the best information you can find in EL3.0 Public Draft Final.
Thanks for explanation, I haven't notice the wiki page is outdated...
(In reply to comment #5) > Thanks for explanation, I haven't notice the wiki page is outdated... No problem. I had the same problem as you until I found exactly one issue raised against EL_SPEC on java.net where was that mentioned - to align the feature with JDK8.
Thanks, verified Product Version: NetBeans IDE Dev (Build web-main-javaee7-213-on-20130407) Updates: Updates available Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b32 System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
So, where exactly is this issue fixed ? Is it already in release73 repository ? If so, please change SW to '73patch2-fixed', thanks in advance.
(In reply to comment #8) > So, where exactly is this issue fixed ? Is it already in release73 repository ? > If so, please change SW to '73patch2-fixed', thanks in advance. All fixes I do/did in EE are part of the nb731. I'll update SW.
patch2 verified Product Version: NetBeans IDE 7.3.1 (Build 201302132200) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)