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.
I have the following definition in my project: class FileSystemException extends IOException {...} after applying "Use supertype where possible" to it the following code was not changed: throws FileSystemException, IOException
what build are you using, please?
Product Version: NetBeans IDE 6.7 (Build 200906241340) Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16 System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb) Userdir: C:\Dokumente und Einstellungen\Lebedkov\.netbeans\6.7
Would you please specify more details about project code and steps how to reproduce. I'm unable to reproduce with simple code and just menu clicking.
- open the attached project - open Main.java - select FileSystemException in private static void a() throws FileSystemException, IOException - invoke "User Supertype where possible" - choose java.io.Exception => the code private static void a() throws FileSystemException, IOException is not changed to private static void a() throws IOException
Created attachment 92656 [details] Project
Reassigning to java refactoring for evaluation.
This type of refactoring does not change method signature. Its designed to be used in local statements only.
I think it is at least a valid enhancement