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

Add TOOLING.jsh load file

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • None
    • tools
    • None
    • b25

    Description

      Add TOOLING.jsh load file to have better and built-in access for tools shipping with the JDK and their command-line interface. See a related blog post introducing and show use-cases of TOOLING.jsh at https://sormuras.github.io/blog/2023-03-09-jshell-tooling

      The goal of this enhancement is to enable this single-line command for users:

      jshell TOOLING

      Today users need the following two-step dance to load the script:

      jshell
      jshell> /open https://github.com/sormuras/jdk-tools/raw/main/TOOLING.jsh

      This goal can be achieved by placing a copy of TOOLING.jsh into src/jdk.jshell/share/classes/jdk/jshell/tool/resources - as a sibling to the existing scripts `DEFAULT.jsh` and `PRINTING.jsh`.

      Attachments

        Issue Links

          Activity

            People

              cstein Christian Stein
              cstein Christian Stein
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: