< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java

Print this page
@@ -624,11 +624,11 @@
                          t.getEnclosingType() == Type.noType) {
                          return t.annotatedType(s);
                      } else {
                          ClassType ret = new ClassType(t.getEnclosingType().accept(this, s),
                                                        t.typarams_field, t.tsym,
-                                                       t.getMetadata());
+                                                       t.getMetadata(), t.getFlavor());
                          ret.all_interfaces_field = t.all_interfaces_field;
                          ret.allparams_field = t.allparams_field;
                          ret.interfaces_field = t.interfaces_field;
                          ret.rank_field = t.rank_field;
                          ret.supertype_field = t.supertype_field;
< prev index next >