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:
dragos 2007-12-04 15:39:00 +00:00
parent 551d45814d
commit 4322a075fd
1 changed files with 0 additions and 1 deletions

View File

@ -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))