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 51fcc1f commit 60ac55aCopy full SHA for 60ac55a
src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala
@@ -568,7 +568,7 @@ abstract class BCodeSkelBuilder extends BCodeHelpers {
568
}
569
570
val isNative = methSymbol.hasAnnotation(definitions.NativeAttr)
571
- val isAbstractMethod = (methSymbol.isDeferred || methSymbol.owner.isInterface) && !methSymbol.hasFlag(Flags.JAVA_DEFAULTMETHOD)
+ val isAbstractMethod = rhs == EmptyTree
572
val flags = GenBCode.mkFlags(
573
javaFlags(methSymbol),
574
if (isAbstractMethod) asm.Opcodes.ACC_ABSTRACT else 0,
0 commit comments