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

Nashorn and Shell Scripting additional built-in function section is wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8u40
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • CPU:
      generic
    • OS:
      generic

      Description

      Doc: http://http://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html

      Section: 4.5 Additional Nashorn Built-in Functions

      Only "echo", "readLine" and "readFully" functions are defined only for (shell) -scripting mode. Other extensions like quit, exit, load, loadWithNewGlobal, Object.bindProperties are always available. These don't require -scripting mode.

        Attachments

          Activity

            People

            Assignee:
            rgoyal Ram Goyal (Inactive)
            Reporter:
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: