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.
Summary: | Renaming class fails to rename its private constructor | ||
---|---|---|---|
Product: | java | Reporter: | J Bachorik <yardus> |
Component: | Source | Assignee: | Jan Pokorsky <jpokorsky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | blaha, sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Sample application |
Description
J Bachorik
2008-10-21 10:18:22 UTC
This is regression against 6.1 Created attachment 72365 [details]
Sample application
Hmm, I tried NB 6.1 and it doesn't work there either. It seems so However, in 5.5 it works correctly and it's a kind of regression, indeed :( Lowering priority. It is not a new regression. It works the same way at least from 6.0. It can be reproduced in case some nested class is in front of the constructor otherwise the refactoring works as expected. It is a bug of the java source generator (CasualDiff). Reassigning. I have a fix but I would suggest to postpone it to 6.5-patch1. Integrated into 'main-golden', will be available in build *200810220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/47d4f229d2f5 User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #150831: remeber class name in context of nested classes v. The fix has been backported into release65_fixes repository. http://hg.netbeans.org/release65_fixes/rev/0325b6f2f2a4 verified in patch1 |