Bug 99627 - synthetic constructor rendered with argument type '1' (one)
Summary: synthetic constructor rendered with argument type '1' (one)
Status: RESOLVED DUPLICATE of bug 180713
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 09:10 EDT by Markus Keller CLA
Modified: 2007-06-21 11:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-06-13 09:10:43 EDT
I20050610-1757 (3.1RC2)

- Open LinkedHashMap<K, V>#ValueIterator from an 1.5 jdk with source attachment
- In the Outline, Package Explorer, etc., disable the filter for synthetic
constructors

There's a package-private synthetic constructor 'ValueIterator(LinkedHashMap, 1)'
The type argument '1' (one) cannot be correct.
Comment 1 Dirk Baeumer CLA 2005-06-13 18:23:31 EDT
The signature of the parameter returned from JDT/Core in this case is
Ljava.util.LinkedHashMap$1; which then results in UI rendering the type name 1.
Without more information from JDT/Core I don't see how we can do here any better. 

Moving to JDT/Core.
Comment 2 Jerome Lanneluc CLA 2005-06-16 07:49:03 EDT
Signature.toString("LLinkedHashMap$1;") returns "LinkedHashMap.1" which is
indeed questionable.
Comment 3 Philipe Mulet CLA 2005-06-16 08:53:57 EDT
is this new ?
Comment 4 Jerome Lanneluc CLA 2005-06-16 09:01:34 EDT
No, same problem existed in 3.0
Comment 5 Jerome Lanneluc CLA 2007-06-21 11:23:31 EDT

*** This bug has been marked as a duplicate of bug 180713 ***