Skip to content

Update scalaLambdaDeserializeResolution #270

@errt

Description

@errt

InvokedynamicRewriting.scalaLambdaDeserializeResolution handles the scala.runtime.LambdaDeserialize.bootstrap bootstrap method. Currently, it only supports InvokeStaticMethodHandles, because the implementation of ClassFileFactory.DeserializeLambdaProxy can only process these.

More recent Scala compilers, however, also produce InvokeSpecialMethodHandles, which we should be able to process.

However, I can't find the bytecode that is referenced in the ClassFileFactory, making it hard to adapt it correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions