Repository navigation
Commit 16cd066
committed
JavaScriptScriptLanguage: make Nashorn work
Nashorn does not come with the Mozilla-specific loadClass and
loadPackage functions available by default. But it does have a lovely
backwards compatibility script that you can source, which adds them.
See:
http://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html1 parent 24fa775 commit 16cd066
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
0 commit comments