Bug 141065

Summary: [assist] no proposals for C.class
Product: [Eclipse Project] JDT Reporter: Johannes Rieken <johannes_rieken>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse
Version: 3.2   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Johannes Rieken CLA 2006-05-10 11:49:13 EDT
public class C {
	
	void m(){
		C.class.
	}
}

Invoke code assist (Ctrl+Space) after 'C.class.' will say 'no proposals'

Note: in some cases -which I can not reproduce- I got proposals. However, I could fool code assist by select a proposal, deleting the newly inserted code and invoking the code assist a second time.
Comment 1 David Audel CLA 2006-05-10 12:33:57 EDT
I cannot reproduce the problem, i got proposals. 

Johannes - What Eclipse build do you use ? Could you verify if code assist is enabled ? ('Preferences>Java>Editor>Content Assist>Advanced>Type Proposals' and 'Preferences>Java>Editor>Content Assist>Advanced>Other Java Proposals' must be enabled)
Comment 2 Johannes Rieken CLA 2006-05-10 12:53:21 EDT
I'm using a fresh RC3, content assist for types and other java elements is enabled and works - except for the 'CU.class.' case.

I have just made some interesting observations: I have switched between the installed JREs (Window -> Pref -> Java -> Installed...) and now it works. The JREs are IBMJava 1.4.2 and IBM-J9 1.5.0_01 (initially as default). Switching to 1.4.2 (compile, invoke code assist) and back to 1.5.0 solved it for me. 
Comment 3 David Audel CLA 2007-06-19 09:47:41 EDT
I cannot reproduce using 3.3RC4, so i close this bug as WORKSFORME