Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Netbeans Generics Bug

 
Siva Masilamani
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I was working in netbeans and wasn able to find out some issue with it.



The above code should not be compiled as Integer doesnot extend B whcih extend A.

It did not compile successfully in Eclipse but Netbeans successfully compiles and runs this code.

I just wanted to let everyone know about this issue.

If somebody already knew about this problem,Please let me know how to address it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic