This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228851

Summary: Add hint for "Class x inherits unrelated default for ..."
Product: java Reporter: Jiri Prox <jiriprox>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Prox 2013-04-22 14:02:03 UTC
Please add hint for resolving problem with inheritance of two default methods. The message 'Class X inherits unrelated defaults for method() from type Y,Z' is not very clear. 

The hint should add method overriding the problematic method. Either with super call or with exception.