Skip to content

InvalidTransformException with jruby-9.2.11.0 + invokedynamic=true #6130

@gsouzab

Description

@gsouzab

After upgrading our service jruby version from jruby-9.2.9.0 to jruby-9.2.11.0 the application start throwing an InvalidTransformException after some requests with arguments matching arg.* are not all of the same type error message (see stacktrace). Also not working with jruby-9.2.10.0. Could see that it's a combination of jruby-9.2.11.0 and invokedynamic enabled

Environment Information

jruby -v
jruby 9.2.11.0 (2.5.7) 2020-03-02 612d7a05a6 OpenJDK 64-Bit Server VM 25.222-b10 on 1.8.0_222-b10 +jit [darwin-x86_64]
uname -a
Darwin ofc-02733-m 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec  1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
  • Worked until jruby-9.2.9.0
  • Only happens with indy
    JAVA_TOOL_OPTIONS="$JAVA_TOOL_OPTIONS -Djruby.compile.invokedynamic=true"
  • Framework
    Sinatra (2.0.8.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions