test/nashorn/script/README
author herrick
Mon, 11 Mar 2019 13:31:48 -0400
branchJDK-8200758-branch
changeset 57255 f686bda3b831
parent 47216 71c04702a3d5
permissions -rw-r--r--
8215574: Investigate and document usage of --category, --copyright, --vendor and --description Submitten-by: almatvee Reviewed-by: herrick

basic:

"basic" language and library tests. These need run only with File read 
permission to read files under "test/script" or subdirs and property read
permission to read properties named "nashorn.test.*"

error:

scripts that should result in compile-time error. The expected files check
for the error message format etc.

currently-failing: 

Tests that fail currently - but should pass eventually.
These are excluded for now.

sandbox:

Tests to check that sandbox scripts cannot access security sensitive resources.
Scripts under this directory run with no special permissions other than
what is given to all "sandbox" scripts.

trusted:

These tests run under AllPermission. Put only those scripts that really need
AllPermission - say for eg. creating class loader, full reflective access.