java.lang.AssertionError: assertion failed: cannot invokespecial java/util/Comparator.reversed, the interface is not a direct parent.

GitHub | lrytz | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    `-Xgen-mixin-forwarders` crashes for default methods

    GitHub | 9 months ago | lrytz
    java.lang.AssertionError: assertion failed: cannot invokespecial java/util/Comparator.reversed, the interface is not a direct parent.

    Root Cause Analysis

    1. java.lang.AssertionError

      assertion failed: cannot invokespecial java/util/Comparator.reversed, the interface is not a direct parent.

      at scala.tools.nsc.Global.assert()
    2. Scala Compiler
      BCodeSkelBuilder$PlainSkelBuilder.genDefDef
      1. scala.tools.nsc.Global.assert(Global.scala:229)
      2. scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genCallMethod(BCodeBodyBuilder.scala:1089)
      3. scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:584)
      4. scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
      5. scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:604)
      6. scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:636)
      6 frames