United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6908806 JDK 1.5.0 Update 17 javac fails to compile java code using generics
JDK-6908806 : JDK 1.5.0 Update 17 javac fails to compile java code using generics

Details
Type:
Bug
Submit Date:
2009-12-09
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2010-06-02
Component:
tools
OS:
solaris_10
Sub-Component:
javac
CPU:
sparc
Priority:
P2
Resolution:
Fixed
Affected Versions:
5.0u17
Fixed Versions:
5.0u25 (b02)

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

Description
JDK 1.5.0 Update 17 javac fails to compile java code using generics.
It reports a "name clash" between "sum(java.util.List<java.lang.Long>)"
and "sum(java.util.List<java.lang.Integer>)". 

The behavior is strictly reproducible beginning with JDK 5.0 Update 17.

                                    

Comments
EVALUATION

It is a regression caused by 6709709 in 5.0u17.
                                     
2010-04-06



Hardware and Software, Engineered to Work Together