diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2012-02-21 15:04:28 +0100 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2012-02-21 15:04:28 +0100 |
commit | bd8c9a01e7275ae26d1b63a967a39fed5c2dcfbd (patch) | |
tree | d2a96594b68429d7f1c37aca53fe979a636695ba /src/compiler | |
parent | fbb7865e137e83660257fdc79d19d29ff39c775b (diff) | |
download | scala-bd8c9a01e7275ae26d1b63a967a39fed5c2dcfbd.tar.gz scala-bd8c9a01e7275ae26d1b63a967a39fed5c2dcfbd.tar.bz2 scala-bd8c9a01e7275ae26d1b63a967a39fed5c2dcfbd.zip |
Added the SYNTHETIC flag for BRIDGE methods. The Eclipse Java compiler complains about duplicate methods otherwise.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala index b5232fff09..8238705cc3 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -1914,7 +1914,7 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with if (sym.isInterface) ACC_INTERFACE else 0, if (finalFlag) ACC_FINAL else 0, if (sym.isStaticMember) ACC_STATIC else 0, - if (sym.isBridge) ACC_BRIDGE else 0, + if (sym.isBridge) ACC_BRIDGE | ACC_SYNTHETIC else 0, if (sym.isClass && !sym.isInterface) ACC_SUPER else 0, if (sym.isVarargsMethod) ACC_VARARGS else 0 ) |