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.
Example: interface Foo<E extends Exception> { void f() throws E; } class FooImpl implements Foo<InstantiationException> { public void f() { throw new InstantiationException(); } } The "unreported exception" light bulb only proposes "Surround with ... try-catch", but not "Add throws clause ...". Product Version: NetBeans IDE 6.1 Beta (Build 200803050202) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
http://hg.netbeans.org/main?cmd=changeset;node=7f798996d86d
Integrated into 'main-golden', available in NB_Trunk_Production #179 build Changeset: http://hg.netbeans.org/main/rev/7f798996d86d User: Jan Lahoda <jlahoda@netbeans.org> Log: #131870: correct handling of generified exception in Add Throws hint.
Verified in 6.5 Beta.