-
Bug
-
Resolution: Fixed
-
P4
-
8u45
-
x86
-
windows_8
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
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