Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 294946

Summary: Completion in debug display view doesn't work if current debugged class has generics
Product: [Eclipse Project] JDT Reporter: Damien Lecan <dev>
Component: DebugAssignee: JDT-Debug-Inbox <jdt-debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: dominik.stadler
Version: 3.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard: stalebug

Description Damien Lecan CLA 2009-11-12 03:47:56 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
Build Identifier: 20090920-1017

During a debug session, if current debugged class where you put a breakpoint has generics (eg.: public class Test<T extends Thread>), completion won't work in display view.

Reproducible: Always

Steps to Reproduce:
1. Create a Java project
2. Create a Java Class with a main method. Class declaration must use generics. Eg.:
public class Test<T extends Thread> {
	public static void main(String[] args) {
		System.out.println(String.valueOf(args));
	}
}
3. Add a breakpoint in front of "System..."
4. Debug this java program
5. When program reaches breakpoint, you can see that completion in display view doesn't work. Completion works perfectly if you remove "<T extends Thread>" in class declaration.
Comment 1 Damien Lecan CLA 2010-05-20 08:22:51 EDT
I still can reproduce it on Eclipse 3.5.2 an Eclipse 3.6M7.
Comment 2 Eclipse Genie CLA 2020-04-09 09:14:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.