author | attila |
Thu, 30 Jan 2014 20:13:27 +0100 | |
changeset 22669 | 75563515567f |
parent 16777 | 207a993adb9a |
permissions | -rw-r--r-- |
16777
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
1 |
R1.run() invoked |
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
2 |
R2.run() invoked |
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
3 |
r3.run() invoked |
22669 | 4 |
r1.class !== r2.class: true |
5 |
r2.class !== r3.class: true |
|
16777
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
6 |
Got exception: java.lang.UnsupportedOperationException |
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
7 |
Got exception: java.lang.UnsupportedOperationException |
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
diff
changeset
|
8 |
(new ExtendsList).size() = 0 |
22669 | 9 |
(new (Java.extend(ExtendsList)){}).size() = 0 |