This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans Generics Bug" Watch "Netbeans Generics Bug" New topic

Netbeans Generics Bug

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385

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


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