Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans Generics Bug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans Generics Bug" Watch "Netbeans Generics Bug" New topic
Author

Netbeans Generics Bug

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
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


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
 
 
subject: Netbeans Generics Bug
 
Similar Threads
Doubt in generic method
why not super in generic method declaration
Generics question
question about the generic methods : ExamLab final test
generic question