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 103136 - Javadoc Generation causes Compilation errors.
Summary: Javadoc Generation causes Compilation errors.
Status: RESOLVED DUPLICATE of bug 95359
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 14:11 UTC by elishae
Modified: 2007-09-26 09:14 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 elishae 2007-05-02 14:11:08 UTC
Test Scenario:

1. Create a new Enum

public Enum Vowels {
 A, E, I, O, U;
}

(IDE complains about missing Java doc and proposes for fixing it, so far, so good).

IDE generates code in a wrong manner.

public enum Vowels {
    /**
     * 
     */
    A, /**
    A,  * 
    A,  */
    A, E, /**
    A, E,  * 
    A, E,  */
    A, E, I, /**
    A, E, I,  * 
    A, E, I,  */
    A, E, I, O, /**
    A, E, I, O,  * 
    A, E, I, O,  */
    A, E, I, O, U;
}

How ever, if the Enum is declared as

public enum Vowels {
    A, 
    E, 
    I, 
    O, 
    U;
}

IDE generates Code correctly as,

public enum Vowels {
    /**
     * 
     */
    A, 
    /**
     * 
     */
    E, 
    /**
     * 
     */
    I, 
    /**
     * 
     */
    O, 
    /**
     * 
     */
    U;
}
Comment 1 elishae 2007-05-02 14:13:05 UTC
Bug Found in Netbeans 6.0 M8 build.
Comment 2 Jiri Prox 2007-05-02 14:23:18 UTC
It's duplicate of issue 95359. Thanks for your report

*** This issue has been marked as a duplicate of 95359 ***