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.
Java build 1.7.0-ea-b144 Given: "try (ResultSet rs = metaData.getPrimaryKeys(null, schemaName, tableName))" 1. Place the caret on top of "rs" and hit CTRL+R 2. Rename the variable to "foo" 3. Netbeans makes the following changes: "try (foosultSet rs = metaData.getPrimaryKeys(null, schemaName, tableName))" 4. Notice how the variable name remains unchanged but its type is now mangled.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ User: Log:
release701: http://hg.netbeans.org/releases/rev/3ddb6c8bae4d http://hg.netbeans.org/releases/rev/6fe8b2d910e9
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/3ddb6c8bae4d User: Jan Lahoda <jlahoda@netbeans.org> Log: #199166: updating the nb-javac library
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b01e2a803e72 User: Jan Lahoda <jlahoda@netbeans.org> Log: #199166: fixing position of the try's resource