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 44431 - SourceElement.getClasses()[0] returns javadoc of second inner class
Summary: SourceElement.getClasses()[0] returns javadoc of second inner class
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 14:16 UTC by ehucka
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 ehucka 2004-06-07 14:16:09 UTC
SourceElement.getClasses()[0] called on source:

/** comment1
*/
public class A {

public void method() {
}

/**comment2
*/
class Inner {
}
}

returns:


/** comment1
*/
public class A {

public void method() {
}

/**comment2
*/

}
Comment 1 Daniel Prusa 2004-06-24 10:03:14 UTC
Fixed.
Checking in MetadataElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java,v
 <--  MetadataElement.java
new revision: 1.14; previous revision: 1.13
Comment 2 ehucka 2004-08-18 12:02:24 UTC
verified
Comment 3 Quality Engineering 2007-09-20 12:00:06 UTC
Reorganization of java component