Community
Participate
Working Groups
Here's a .java file that replicates the problem: ------------------------- public class Foo { public Foo( String[] str ) {} public static void main( String[] args ) { Foo f; // Content assist (ctrl+space) works from the beginning of the .java file to here f = new Foo((String[]) null); // Content assist (ctrl+space) DOES NOT work from here to the end of the .java file } } ------------------------- Note that if the caret is on any line prior to the "f = new Foo" line, content assist (ctrl+space) works. After the "f = new Foo" line, content assist does not work - a message in the lower message bar tells me in red letters "No completions available.". It seems to be triggered ONLY when I make a call to a constructor in which I cast the parameter to an array. This bug does NOT occur if I have an overloaded *method* (as opposed to a constructor). This bug does NOT occur if I do not cast the parameter. This bug does NOT occur if I cast to any object other than an array. Seen this problem on Eclipse 3.1M4.
*** This bug has been marked as a duplicate of 92451 ***