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.
Code completion for try-with-resources resource adds unwanted parenthesis. For example for following code with caret at "|": try (DataInputS"|") will end up with: try (DataInputStream()) JDK 7u4b20, NetBeans Dev 201204140400
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/ff8389c399e8
Integrated into 'main-golden', will be available in build *201204181547* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ff8389c399e8 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #211285: Code completion for try-with-resources resource adds unwanted parenthesis - fixed.