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: | rename main class sometimes renames file, sometimes doesn't | ||
---|---|---|---|
Product: | java | Reporter: | Rochelle Raccah <raccah> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Rochelle Raccah
2001-05-11 00:19:57 UTC
*** This issue has been marked as a duplicate of 11878 *** Actually, I don't think this is a duplicate at all. This is the case where I'm renaming the main class and I *want* the source file renamed. Sometimes it works, sometimes it doesn't. There are some instructions on how to reproduce this (though it's not entirely easy) below. I've changed the implementation so that checks for and keeps track of changes of a "main" class, which is the first public class in the source whose name matches the source filename. Marking as 3.2.1_CANDIDATE, but the fix is scattered throughout the class, so I can't guarantee it will be accepted. [dev-212] Verified [ffj30] Verified Resolved for 3.4.x or earlier, no new info since then -> closing. |