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

Typos in guide "The Java Scripting API"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8u45
    • docs
    • x86
    • windows_8

    Description

      A DESCRIPTION OF THE PROBLEM :
      The given page contains 2 typos, see Expected vs Actual.



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      === on top of the page ===
      The following examples shows [...]

      === in the code of Example 6 ===
      // evaluate JavaScript code that defines a function with one parameter
      engine.eval("function run() { print('run() function called') }");

      ACTUAL -
      === on top of the page ===
      The following examples show [...]

      === in the code of Example 6 ===
      // evaluate JavaScript code that defines a function with no parameters
      engine.eval("function run() { print('run() function called') }");


      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/prog_guide/api.html

      Attachments

        Activity

          People

            rgallard Raymond Gallardo
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: