Community
Participate
Working Groups
Build Id: 200409161125 Type the following code: (line number provided) 01. String foo = "foobar"; 02. 03. for( ;; ) 04. { 05. foo. ---- at this point the Code Assist box will appear giving you a list of String functions. Continue typing: ---- 05. charAt( foo. ---- here, no Code Assist box pops up for some reason. That's a problem. Now, here's the kicker. If we replace line 1 with 01. while( true ) or 01. for( int i = 0; i < 10; ) or 01. for( int i = 0; i < 10; i++ ) then the code assist on the parameter call works. but when for( ;; ) is used which is perfectly valid Java code, then the code assist fails to appear.
argh, when I say > If we replace line 1 with .... I of course mean If we replace line 3 with ....
+1 for RC2
Created attachment 22221 [details] Proposed patch
Fixed and test added GenericsCompletionParserTest#test0188()
Verified using N20050606-0010
Verified for 3.1 RC2 using build I20050610-0010