Bug 171504 - Cannot jump to generic method definition using outline
Summary: Cannot jump to generic method definition using outline
Status: VERIFIED DUPLICATE of bug 129317
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-24 03:02 EST by Roman Dawydkin CLA
Modified: 2007-01-24 09:50 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dawydkin CLA 2007-01-24 03:02:13 EST
Open java.util.Arrays source code from JDK1.6, then select either Outline view or Quick outline (Ctrl-O) and try to jump to method:
public static <T,U> T[] copy(U[] original, int newLenght, Class<? extends T[]> newType)
or:
public static <T,U> T[] copyOfRange(U[] original, int from,  int to, Class<? extends T[]> newType)
It does not work.
Also, these methods is incorrectly placed on top of list if view is unsorted.

I guess, that generic method declarations maybe is too complex for parser.
Comment 1 Maxime Daniel CLA 2007-01-24 03:41:27 EST
Reproduced with M20070112-1200 and jdk6_01 on WXP.
Comment 2 Frederic Fusier CLA 2007-01-24 09:47:17 EST

*** This bug has been marked as a duplicate of bug 129317 ***
Comment 3 Frederic Fusier CLA 2007-01-24 09:50:37 EST
Verified for 3.3 M1 using build I20060810-1230 and also for 3.3 M4 using build I20061214-1445.