Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221476

jshell tool: regession since jdk 13, jshell can not connect to the remote JVM anymore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      13

      Description

      Hi Robert,
      I've created a build tool that use jshell to read its configuration file, for that i run jshell using the javax.tool.Tool API.

      Since jdk13, jshell fails to connect to the remote VM.
      I'm not able to reproduce the case locally but it can reproduce the issue using TravisCI and CircleCI,

      Here is the execution in CircleCI:
      https://circleci.com/gh/forax/pratt_parser/3

      And the one in TravisCI:
      https://travis-ci.org/forax/pratt_parser/jobs/511498907

      In both cases the error is the same, it timeout.

      I wonder the issue is not a change in the attach API that jshell is using.

        Attachments

          Activity

            People

            • Assignee:
              rfield Robert Field
              Reporter:
              forax RĂ©mi Forax
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: