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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Same erasure in generics" Watch "Same erasure in generics" New topic

Same erasure in generics

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 235

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?


I agree. Here's the link:
subject: Same erasure in generics
jQuery in Action, 3rd edition