Wed, 03 Jul 2013 15:46:03 +0200
8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
Reviewed-by: sundar, jlaskey
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 |