Summary: | Bad code completion formatting for Collections.synchronizedMap | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Kahli Burke <kahliburke> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | daniel_megert | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.2 RC2 | ||||||||
Hardware: | Macintosh | ||||||||
OS: | Mac OS X - Carbon (unsup.) | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Kahli Burke
2006-04-26 12:48:31 EDT
Looks like wrong extraction from Javadoc. Are you using 5.0 or 1.4? Here's the info for the JDK I run Eclipse with and have configured as the compiler for the project: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) This is the JDK for OS X. Thanks. +1 for 3.2RC2 The parameter source is: <A HREF="../../java/util/Map.html" title="interface in java.util">Map</A><K,V> m And the parameter name is not extracted properly. I am splitting on the ',', and this doesn't work well in case of generic types. I am investigating how to split them in order to get the 'm' part. Created attachment 39679 [details]
Proposed fix
Created attachment 39680 [details]
Regression test
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.model.AttachedJavadocTests.test019 Verified with I20060427-1600 for 3.2RC2 Changing OS from Mac OS to Mac OS X as per bug 185991 |