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.

Bug 232442 - Class rename refactoring breaks code with multiple class level comments
Summary: Class rename refactoring breaks code with multiple class level comments
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 12:19 UTC by Maksim Khramov
Modified: 2013-08-21 02:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2013-07-09 12:19:48 UTC
Product Version: NetBeans IDE Dev (Build 201307022300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01

Steps to reproduce:

1.
Create new java class. By default IDE creates irt with one class level comment with @author  data

2. Add one more single line comment brefore first one. So class looks there:

/**
 *
 * @author Maks K
 */

// Other comment 
public class NewClass {
    
}

3. Do rename refactoring
Class becomes invalid
Comment 1 Jiri Prox 2013-07-09 12:25:45 UTC
Reproducible,
Comment 2 Ralph Ruijs 2013-08-19 08:32:59 UTC
Should be fixed by #38a18968185b
Comment 3 Quality Engineering 2013-08-21 02:43:20 UTC
Integrated into 'main-silver', will be available in build *201308202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/38a18968185b
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #232442 - Class rename refactoring breaks code with multiple class level comments