Bug 14343 - ClassFileReader.getEnclosingTypeName() should return null for anonymous types
Summary: ClassFileReader.getEnclosingTypeName() should return null for anonymous types
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-22 13:18 EDT by Jerome Lanneluc CLA
Modified: 2002-04-22 13:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2002-04-22 13:18:18 EDT
Build 20020418

ClassFileReader.getEnclosingTypeName() can return a non-null name if the class 
file was compiled with javac 1.1.* In this case, the class file format is wrong 
and the outer_class_info_index is not zero.
Comment 1 Jerome Lanneluc CLA 2002-04-22 13:23:35 EDT
Now checking that the innerInfo is null and that the type is not anonymous.