This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Same erasure in generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Same erasure in generics" Watch "Same erasure in generics" New topic
Author

Same erasure in generics

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 215

hi all,
I am familiar about the compile time error "same erasure ".My doubt is , after type erasure this error is likely to occur.SInce this occurs at compile time,does the compiler checks the code again after type erasure to make sure the "same erasure" errors?

Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Same erasure in generics
 
Similar Threads
Vararg Generic
Generics and overriding
Doubt in Java 1.5 Generics
Method overloading
Generics Confusion in Overriding a method