We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36937e7 commit 0637c3bCopy full SHA for 0637c3b
src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala
@@ -563,7 +563,7 @@ abstract class BCodeSkelBuilder extends BCodeHelpers {
563
}
564
565
val isNative = methSymbol.hasAnnotation(definitions.NativeAttr)
566
- val isAbstractMethod = (methSymbol.isDeferred || methSymbol.owner.isInterface) && !methSymbol.hasFlag(Flags.JAVA_DEFAULTMETHOD)
+ val isAbstractMethod = rhs == EmptyTree
567
val flags = GenBCode.mkFlags(
568
javaFlags(methSymbol),
569
if (isAbstractMethod) asm.Opcodes.ACC_ABSTRACT else 0,
0 commit comments