• Post Reply Bookmark Topic Watch Topic
  • New Topic

Netbeans Generics Bug  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!