Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
Down for 10.3.x LTS version upgrade on Nov 3, 09:30 PM - Nov 4, 01:30 AM PT (Nov 04, 05:30 AM - 09:30 AM GMT, Tuesday)
JDK
JDK-4948144
Generics: assignment of Class to type parm's default should elicit error
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Bug
Resolution:
Fixed
Priority:
P3
Fix Version/s:
5.0
Affects Version/s:
5.0
Component/s:
tools
Labels:
generics
jsr14
sqe-tools
tiger-interest
Subcomponent:
javac
Resolved In Build:
b40
CPU:
generic
OS:
generic
Description
It gets an unchecked assigneent warning iwth -Xlint, but no error
class C<T> {
void f(Class c) {
T t = c;
}
}
Attachments
Activity
People
Assignee:
Tom Rodriguez
Reporter:
Steve Sides (Inactive)
Votes:
0
Vote for this issue
Watchers:
0
Start watching this issue
Dates
Created:
2003-11-03 17:56
Updated:
2004-02-20 11:38
Resolved:
2004-02-20 11:38
Imported:
16/Sep/12 11:46 AM
Indexed:
18/Jul/12 6:45 AM