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 6483 - Little bug in JavaDoc comment parsing /**/
Summary: Little bug in JavaDoc comment parsing /**/
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-04-28 23:11 UTC by Jan Becicka
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 Jan Becicka 2000-04-28 23:11:22 UTC
1. Create Class
2. Create Method
3. Comment this method this stupid way

/**/
/* some comment*/

void somemethod(){

}

If somemethod() is deleted from Explorer, /* some comment */ is also removed, because parser think, that
/**/
/* some comment */
is JavaDoc comment.

[Svata] The fact parsing engine recognizes /**/ as (empty) JavaDoc comment is probably the designed behaviour (it in fact recognizes all //*/*+/ expressions as empty JavaDoc comments). However the del
etion is not desired.
Comment 1 Marek Grummich 2000-07-25 09:23:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 16:49:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify
Comment 3 Quality Engineering 2003-07-02 17:16:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.