test/script/basic/javaclassoverrides.js.EXPECTED

Wed, 15 May 2013 20:21:59 +0200

author
attila
date
Wed, 15 May 2013 20:21:59 +0200
changeset 270
19e9cd9c7010
parent 175
5eb1427b6a6d
child 719
11b83c913cca
permissions
-rw-r--r--

8014647: Allow class-based overrides to be initialized with a ScriptFunction
Reviewed-by: hannesw, jlaskey, sundar

attila@175 1 R1.run() invoked
attila@175 2 R2.run() invoked
attila@175 3 r3.run() invoked
attila@175 4 r1.class != r2.class: true
attila@175 5 r2.class == r3.class: true
attila@175 6 Got exception: java.lang.UnsupportedOperationException
attila@175 7 Got exception: java.lang.UnsupportedOperationException
attila@175 8 (new ExtendsList).size() = 0
attila@175 9 (new ExtendsList(){}).size() = 0

mercurial