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

Summary: "Implement all abstract methods" hint deletes javadoc of class
Product: java Reporter: markiewb
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 239487    
Bug Blocks: 246706    

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