Self-host: Can't require cljs.js in script/nashornrepljs on Java 9
The below works under Java 8, but not 9:
Likely closely related to CLJS-2530.
With Java 10, perhaps another bit was used up:
The limit in question was revised in this changeset http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/7cb19fa78763#l48.108
where CALLSITE_PROGRAM_POINT_SHIFT was increased from 11 to 14, reducing MAX_PROGRAM_POINT_VALUE from 21 bits to 18 bits. (2^18 - 1 = 262143)
This is associated with this ticket https://bugs.java.com/view_bug.do?bug_id=8139931