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

JShell API: switch to builder pattern for JShell creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9-repo-kulla
    • None
    • tools
    • None

      Do you consider that the generator functions should be provided to the JShell factory method? or would there be a need to override during a shell session?

      Perhaps a builder API is required? that would be a reasonable way to hide these advanced methods as developers will never notice for the common case of default construction, and it would allow for other configuration (if any is required).

      Paul.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: