Skip to content

Cannot interrupt running evaluations on JDK 21+ #2843

Open
@maxrothman

Description

@maxrothman

When interrupting an evaluation while using JDK 21, I get the following message:

ERROR: Cannot stop thread on JDK21+ without -Djdk.attach.allowAttachSelf enabled, see https://nrepl.org/nrepl/installation.html#jvmti.

This option should probably be included by default in all Java REPL connect sequences so the interrupt evaluations feature is able to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions