Skip to content

Crash with java agent on Mohist 1.18.2 to 1.20.1 #70

@JulianVennen

Description

@JulianVennen

When trying to use serialization is bad as a java agent on a Mohist server with any version starting at 1.18.2 the server crashes with the message java.lang.reflect.InaccessibleObjectException: Unable to make field static final java.lang.invoke.MethodHandles$Lookup java.lang.invoke.MethodHandles$Lookup.IMPL_LOOKUP accessible: module java.base does not "opens java.lang.invoke" to unnamed module @6591f517.

Here's a log from a Mohist 1.20.1 server with this issue: https://mclo.gs/o4nssB6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions