langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
changeset 12335 4725d88691dd
parent 11314 b612aaca08d0
child 13635 5c742eabba7c
equal deleted inserted replaced
12334:29e1bfdcba4e 12335:4725d88691dd
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1318                 CompoundAnnotationProxy proxy = readCompoundAnnotation();
  1318                 CompoundAnnotationProxy proxy = readCompoundAnnotation();
  1319                 if (proxy.type.tsym == syms.proprietaryType.tsym)
  1319                 if (proxy.type.tsym == syms.proprietaryType.tsym)
  1320                     sym.flags_field |= PROPRIETARY;
  1320                     sym.flags_field |= PROPRIETARY;
  1321                 else
  1321                 else
  1322                     proxies.append(proxy);
  1322                     proxies.append(proxy);
  1323                 if (majorVersion >= V51.major &&
       
  1324                     proxy.type.tsym == syms.polymorphicSignatureType.tsym) {
       
  1325                     sym.flags_field |= POLYMORPHIC_SIGNATURE;
       
  1326                 }
       
  1327             }
  1323             }
  1328             annotate.later(new AnnotationCompleter(sym, proxies.toList()));
  1324             annotate.later(new AnnotationCompleter(sym, proxies.toList()));
  1329         }
  1325         }
  1330     }
  1326     }
  1331 
  1327