Bug 100416 - [1.5] [assist] type of the class literal is not correct
Summary: [1.5] [assist] type of the class literal is not correct
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 11:06 EDT by David Audel CLA
Modified: 2010-04-27 07:00 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2005-06-16 11:06:07 EDT
build 3.1RC2
1) create X.java
public class X {
  void foo() {
    String.class|
  }
}
2) do ctrl+space at | location
'class - Class<java/lang/String>' is proposed instead of 'class -
Class<java.lang.String>'
Comment 1 Tom Hofmann CLA 2006-08-21 10:43:46 EDT
In addition, the proposals for class literals lack the declaring type. 
Comment 2 Olivier Thomann CLA 2010-03-18 13:26:19 EDT
This is fixed in HEAD.
I do get: Class<java.lang.String>
Closing as WORKSFORME.
Comment 3 Jay Arthanareeswaran CLA 2010-04-27 07:00:24 EDT
Verified for 3.6M7 using build I20100424-2000.