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.
[dev-200506281800, JDK 1.5.0_04] Surround with try-catch invoked from editor hint adds import java.io.IOException; and generates code: File f = new File(""); try { f.createNewFile(); } catch (IOException e) { } The same action invoked from pop-up menu generates code: File f = new File(""); try { f.createNewFile(); } catch (java.io.IOException e) { }
Cannot reproduce in latest build.
Verified, the behavior is the same regardless of invocation. Should be closed as WORKSFORME.
WORKSFORME
V