diff -r b22dbc9329ec -r dde8422fb5ae emul/src/main/java/java/lang/Class.java --- a/emul/src/main/java/java/lang/Class.java Sat Dec 01 15:30:56 2012 +0100 +++ b/emul/src/main/java/java/lang/Class.java Sat Dec 01 15:48:12 2012 +0100 @@ -191,10 +191,15 @@ * * */ + @JavaScriptBody(args = "self", body = + "var inst = self.cnstr();" + + "inst.consV(inst);" + + "return inst;" + ) public T newInstance() throws InstantiationException, IllegalAccessException { - throw new UnsupportedOperationException("Should be somehow supported"); + throw new UnsupportedOperationException(); } /**