These rules do not handle inner class in class template like “M.N”.

 RefType  -> Type
 ClassOrInterfaceType -> RefType
 TypeName TypeArgs? -> ClassOrInterfaceType {cons("ClassOrInterfaceType")}
 Id                       -> TypeName {cons("TypeName")}
 PackageOrTypeName "." Id -> TypeName {cons("TypeName")}
 Id                       -> PackageOrTypeName {cons("PackageOrTypeName")}
 PackageOrTypeName "." Id -> PackageOrTypeName {cons("PackageOrTypeName")}

Submitted on 21 February 2005 at 12:55

On 23 February 2005 at 12:13 Jira commented:

JFR-19, martin:

Interesting issue, thanks for reporting this. Weird that this issue doesn’t come up in the testsuite, which parses the j2sdk sources as well as the GNU Classpath sources (which doesn’t use generics of course). I’ll try to fix this as soon as possible, but I need to find out how to implement this in a nice without breaking to much code.

Log in to post comments