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 236795 - Rename enum field with javadoc create uncompilable code
Summary: Rename enum field with javadoc create uncompilable code
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 237082 237429 238026 238622 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-05 11:28 UTC by hlavki
Modified: 2013-11-21 10:21 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test enum (116 bytes, text/x-java-source)
2013-10-05 11:28 UTC, hlavki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hlavki 2013-10-05 11:28:30 UTC
Created attachment 140832 [details]
Test enum

When rename enum field with javadoc, netbeans change javadoc and class is not compilable.

How to reproduce:
Open Test.java from attachment, with cursor go to field "ONE", press Ctrl+R to rename and write e.g. TWO then press enter.
Comment 1 Jiri Prox 2013-10-07 08:59:07 UTC
reproducible
Comment 2 Ralph Ruijs 2013-10-09 14:52:30 UTC
changeset   : 57e8539065e6
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Wed Oct 09 16:48:12 CEST 2013
summary     : #236795 - Rename enum field with javadoc create uncompilable code
Comment 3 Quality Engineering 2013-10-12 03:59:15 UTC
Integrated into 'main-silver', will be available in build *201310120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/57e8539065e6
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #236795 - Rename enum field with javadoc create uncompilable code
Comment 4 Ralph Ruijs 2013-10-14 14:20:26 UTC
*** Bug 237082 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Prox 2013-10-24 14:00:08 UTC
Verified


Product Version: NetBeans IDE Dev (Build 20131024-d617e3102adc)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b49
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b107
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: D:\udir2
Cache directory: D:\udir2\var\cache
Comment 6 Ralph Ruijs 2013-10-28 08:46:24 UTC
*** Bug 237429 has been marked as a duplicate of this bug. ***
Comment 7 Jiri Prox 2013-11-06 08:02:26 UTC
*** Bug 238026 has been marked as a duplicate of this bug. ***
Comment 8 Jiri Prox 2013-11-21 10:21:54 UTC
*** Bug 238622 has been marked as a duplicate of this bug. ***