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.
Build 200411150946 (pre-RC1) 1) Have a WebApp with a JSP 2) Type into JSP and invoke CC at | position <% String s; s.charAt(| %> or: <% throw new IllegalArgumentException(| %> 3) ERROR: no CC is invoked. BTW: modifying examples to: ...charAt(|) or ...Exception(|) shows that an argument is passed for matching method signature.
Reproducible on linux as well.
So the cc only doesn't work when the brackets are not closed. Do you think that it's really P2?
I forgot to mention the reason for P2, sorry: IllegalArgumentException has 4 constructors, but you will see only 1 in the step 2 :( -- no way how to get javadoc to the rest constructors. It's regression against Beta2.
Now I understand and agree with P2.
It has been broken up between builds 200409081800 and 09091800.
editor problem, reassigning Karel, thanks for investigating broken build_scope
fixed in [maintrunk] visual diff: http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/editor/ext/java/JCResultItem.java.diff?r1=1.5&r2=1.6 Dusan, could you please review the fix? Karel, could you please test and verify it? thanks.
I was tested continuous build #20041116-1628, invoking CC is fixed but the problem with missing constructors remains.
To missing constructors: - can reproduce only on classes from java.lang package - queery string in CC title is strange e.g. for 'new Exception(|)' it is: 'Exception(Exception, *)'
Aha. I have tested it on "new IllegalArgumentException(|" I will look at it...
additional fix for constructors: http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/editor/ext/java/JavaCompletionQuery.java.diff?r1=1.50&r2=1.51 http://editor.netbeans.org/source/browse/editor/src/org/netbeans/modules/editor/java/MDRFinder.java.diff?r1=1.8&r2=1.9
Both fixes look OK.
I've tested it in #200411171900 (trunk build), both fixes look OK.
Please prepare a fix for 4.0.
integrated into [release40] /cvs/editor/libsrc/org/netbeans/editor/ext/java/JCResultItem.java,v <-- JCResultItem.java new revision: 1.5.4.1; previous revision: 1.5 /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaCompletionQuery.java,v <-- JavaCompletionQuery.java new revision: 1.50.6.1; previous revision: 1.50 /cvs/editor/src/org/netbeans/modules/editor/java/MDRFinder.java,v <-- MDRFinder.java new revision: 1.8.2.1; previous revision: 1.8