Removed the SYNTHETIC flags for accessors (javac won't allow code calling such methods).
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13428 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
551d45814d
commit
4322a075fd
|
@ -1364,7 +1364,6 @@ abstract class GenJVM extends SubComponent {
|
|||
&& !sym.enclClass.hasFlag(Flags.INTERFACE)
|
||||
&& !sym.isClassConstructor) ACC_FINAL else 0)
|
||||
jf = jf | (if (isStaticSymbol(sym)) ACC_STATIC else 0)
|
||||
jf = jf | (if (sym hasFlag Flags.ACCESSOR) ACC_SYNTHETIC else 0)
|
||||
if (settings.target.value == "jvm-1.5")
|
||||
jf = jf | (if (sym hasFlag Flags.BRIDGE) ACC_BRIDGE else 0)
|
||||
if (sym.isClass && !sym.hasFlag(Flags.INTERFACE))
|
||||
|
|
Loading…
Reference in New Issue