diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/compiler/scala/tools/nsc/javac/JavaParsers.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/javac/JavaParsers.scala b/src/compiler/scala/tools/nsc/javac/JavaParsers.scala index fc28b04d1a..89ddcefadf 100755 --- a/src/compiler/scala/tools/nsc/javac/JavaParsers.scala +++ b/src/compiler/scala/tools/nsc/javac/JavaParsers.scala @@ -547,6 +547,7 @@ trait JavaParsers extends JavaScanners { } } } else { + if (inInterface) mods1 |= Flags.FINAL val result = fieldDecls(pos, mods1, rtpt, name) accept(SEMI) result |