Fri, 04 Sep 2015 17:17:44 +0530
8135054: Add more samples to nashorn samples directory
Reviewed-by: mhaupt, hannesw
aoqi@0 | 1 | basic: |
aoqi@0 | 2 | |
aoqi@0 | 3 | "basic" language and library tests. These need run only with File read |
aoqi@0 | 4 | permission to read files under "test/script" or subdirs and property read |
aoqi@0 | 5 | permission to read properties named "nashorn.test.*" |
aoqi@0 | 6 | |
aoqi@0 | 7 | error: |
aoqi@0 | 8 | |
aoqi@0 | 9 | scripts that should result in compile-time error. The expected files check |
aoqi@0 | 10 | for the error message format etc. |
aoqi@0 | 11 | |
aoqi@0 | 12 | currently-failing: |
aoqi@0 | 13 | |
aoqi@0 | 14 | Tests that fail currently - but should pass eventually. |
aoqi@0 | 15 | These are excluded for now. |
aoqi@0 | 16 | |
aoqi@0 | 17 | sandbox: |
aoqi@0 | 18 | |
aoqi@0 | 19 | Tests to check that sandbox scripts cannot access security sensitive resources. |
aoqi@0 | 20 | Scripts under this directory run with no special permissions other than |
aoqi@0 | 21 | what is given to all "sandbox" scripts. |
aoqi@0 | 22 | |
aoqi@0 | 23 | trusted: |
aoqi@0 | 24 | |
aoqi@0 | 25 | These tests run under AllPermission. Put only those scripts that really need |
aoqi@0 | 26 | AllPermission - say for eg. creating class loader, full reflective access. |