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

Summary: SourceElement.getClasses()[0] returns javadoc of second inner class
Product: java Reporter: ehucka <ehucka>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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