1.1 --- a/emul/src/main/java/java/lang/Class.java Sat Dec 01 15:30:56 2012 +0100
1.2 +++ b/emul/src/main/java/java/lang/Class.java Sat Dec 01 15:48:12 2012 +0100
1.3 @@ -191,10 +191,15 @@
1.4 * </ul>
1.5 *
1.6 */
1.7 + @JavaScriptBody(args = "self", body =
1.8 + "var inst = self.cnstr();"
1.9 + + "inst.consV(inst);"
1.10 + + "return inst;"
1.11 + )
1.12 public T newInstance()
1.13 throws InstantiationException, IllegalAccessException
1.14 {
1.15 - throw new UnsupportedOperationException("Should be somehow supported");
1.16 + throw new UnsupportedOperationException();
1.17 }
1.18
1.19 /**