You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contexts.Context.printCreationTraces has a lambda inside, that accesses a private accessor creationTrace of Contexts.Context.
LambdaLift lifts it out to a static method in Contexts, without setting a NotJavaPrivate on the private accessor of the creationTrace.
Manifests itself with such error:
Exception in thread "main" java.lang.VerifyError: Bad invokespecial instruction: current class isn't assignable to reference class.
Exception Details:
Location:
dotty/tools/dotc/core/Contexts$.$anonfun$printCreationTraces$2(Ldotty/tools/dotc/core/Contexts$$Context;)V @50: invokespecial
Reason:
Error exists in the bytecode
The text was updated successfully, but these errors were encountered:
@odersky If you decide that you can lift method to be static, why make it static on top-level class, instead of making it static on the class that was the original owner?
Contexts.Context.printCreationTraces
has a lambda inside, that accesses a private accessorcreationTrace
ofContexts.Context
.LambdaLift lifts it out to a static method in
Contexts
, without setting aNotJavaPrivate
on the private accessor of thecreationTrace
.Manifests itself with such error:
The text was updated successfully, but these errors were encountered: