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 245103 - "Implement all abstract methods" hint deletes javadoc of class
Summary: "Implement all abstract methods" hint deletes javadoc of class
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 239487
Blocks: 246706
  Show dependency tree
 
Reported: 2014-06-17 11:57 UTC by markiewb
Modified: 2014-08-29 07:22 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 markiewb 2014-06-17 11:57:52 UTC
* Take this code
{code}
package sample.mavenproject4;

/**
 * NewClass
 *
 */
public class New|Class extends SuperClass //invoke hint at caret |
{

    /**
     * bar
     */
    void bar()
    {
    }

}

/**
 * superclass
 */
abstract class SuperClass
{

    /**
     * foo
     */
    abstract void doFoo();
}
{code}

* invoke "Implement all abstract methods" hint

ACTUAL: JavaDoc comment at NewClass is removed (if not try it several times, it does not always happen)
EXPECTED: JavaDoc comment at NewClass is always preserved

P2 or P3

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: Updates available to version , NetBeans 8.0 Patch 1.1
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\markiewb\AppData\Roaming\NetBeans\8.0
Cache directory: C:\Users\markiewb\AppData\Local\NetBeans\Cache\8.0
Comment 1 Svata Dedic 2014-07-10 14:28:12 UTC
Fixed by general support implemented as part of issue #239487 and isssue #245348