equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2016, 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 |
2205 case IDENT: |
2205 case IDENT: |
2206 JCIdent id = (JCIdent) rval; |
2206 JCIdent id = (JCIdent) rval; |
2207 if ((id.sym.flags() & FINAL) != 0 && id.sym.owner.kind == MTH) |
2207 if ((id.sym.flags() & FINAL) != 0 && id.sym.owner.kind == MTH) |
2208 return builder.build(rval); |
2208 return builder.build(rval); |
2209 } |
2209 } |
|
2210 Name name = TreeInfo.name(rval); |
|
2211 if (name == names._super) |
|
2212 return builder.build(rval); |
2210 VarSymbol var = |
2213 VarSymbol var = |
2211 new VarSymbol(FINAL|SYNTHETIC, |
2214 new VarSymbol(FINAL|SYNTHETIC, |
2212 names.fromString( |
2215 names.fromString( |
2213 target.syntheticNameChar() |
2216 target.syntheticNameChar() |
2214 + "" + rval.hashCode()), |
2217 + "" + rval.hashCode()), |