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

jshell tool: remove print method forwarding to System.out from default startup

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b151
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Make print methods opt-in by using "PRINTING" resource.

      So:

        jshell

      Includes standard imports but no print methods.

      Where:

        jshell --start PRINTING

      Includes a complete set of print methods, but no imports.

      And:

        jshell --start DEFAULT --start PRINTING

      Includes both.

      Resources initially are: DEFAULT, PRINTING, and JAVASE; Where the later is all Java SE imports. Resources apply to "/set start", "/open", and load files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: