nashorn/test/script/basic/javaclassoverrides.js.EXPECTED
author attila
Wed, 15 May 2013 20:21:59 +0200
changeset 17750 eeab213edaa6
parent 16777 207a993adb9a
child 22669 75563515567f
permissions -rw-r--r--
8014647: Allow class-based overrides to be initialized with a ScriptFunction Reviewed-by: hannesw, jlaskey, sundar

R1.run() invoked
R2.run() invoked
r3.run() invoked
r1.class != r2.class: true
r2.class == r3.class: true
Got exception: java.lang.UnsupportedOperationException
Got exception: java.lang.UnsupportedOperationException
(new ExtendsList).size() = 0
(new ExtendsList(){}).size() = 0