--- a/langtools/src/share/classes/com/sun/tools/javac/model/JavacAnnoConstructs.java Tue Aug 06 15:08:49 2013 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/model/JavacAnnoConstructs.java Wed Aug 07 01:32:39 2013 +0200
@@ -172,8 +172,8 @@
}
// So we have a containing type
- String annoTypeName = annoType.getSimpleName();
- String containerTypeName = containerType.getSimpleName();
+ String annoTypeName = annoType.getName();
+ String containerTypeName = containerType.getName();
int directIndex = -1, containerIndex = -1;
Attribute.Compound direct = null, container = null;
// Find directly (explicit or implicit) present annotations
@@ -303,8 +303,8 @@
}
// So we have a containing type
- String annoTypeName = annoType.getSimpleName();
- String containerTypeName = containerType.getSimpleName();
+ String annoTypeName = annoType.getName();
+ String containerTypeName = containerType.getName();
int directIndex = -1, containerIndex = -1;
Attribute.Compound direct = null, container = null;
// Find directly (explicit or implicit) present annotations