src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java

Print this page

        

*** 1610,1620 **** } else { if (proxy.type.tsym == syms.annotationTargetType.tsym) { target = proxy; } else if (proxy.type.tsym == syms.repeatableType.tsym) { repeatable = proxy; ! } else if (sym.kind == TYP && proxy.type.tsym == syms.deriveValueType.tsym) { sym.flags_field |= VALUE_CAPABLE; } else if (proxy.type.tsym == syms.deprecatedType.tsym) { sym.flags_field |= (DEPRECATED | DEPRECATED_ANNOTATION); for (Pair<Name, Attribute> v : proxy.values) { if (v.fst == names.forRemoval && v.snd instanceof Attribute.Constant) { --- 1610,1620 ---- } else { if (proxy.type.tsym == syms.annotationTargetType.tsym) { target = proxy; } else if (proxy.type.tsym == syms.repeatableType.tsym) { repeatable = proxy; ! } else if (sym.kind == TYP && proxy.type.tsym == syms.valueCapableClass.tsym) { sym.flags_field |= VALUE_CAPABLE; } else if (proxy.type.tsym == syms.deprecatedType.tsym) { sym.flags_field |= (DEPRECATED | DEPRECATED_ANNOTATION); for (Pair<Name, Attribute> v : proxy.values) { if (v.fst == names.forRemoval && v.snd instanceof Attribute.Constant) {