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.
I'm maintaining an older project and have got a <script> tag in a JSP that contains embedded scriptlet lines. Warnings appear on the lines with scriptlets saying that the code has no side effect. See attached jpg for clarification.
Created attachment 60428 [details] screenshot of javascript/scriptlet code
Incorrect subcomponent, please evaluate, thanks.
please attach the file or snippet so I am able to reproduce the issue
Created attachment 60499 [details] This file, when loaded into 6.1RC2, reproduces the problem.
FYI, I know that the JSP is written poorly but my job is to maintain JSPs like that. I wouldn't write anything like that :)
reproducible, thanks. It looks like we are showing the warning for the virtually generated identifier _UNKNOWN_.
Ok, thank you for your help. I was wondering if you had taken a look at issue #133227? I submitted it at the same time as this one. I can supply you with any help you need.
This is fixed by changeset 7ce055fa4e15, same as for (probably duplicate) issue 135209.
mfukala, I've got a question: when will this make it to a release of NetBeans? The next patch? 6.5? Thanks.
It will not be in any patch for 6.1, but it will be in 6.5 for sure verified. NetBeans IDE Dev (Build 20080911010625)