1.1 --- a/emul/src/main/java/java/lang/Class.java Wed Dec 19 16:43:37 2012 +0100
1.2 +++ b/emul/src/main/java/java/lang/Class.java Thu Dec 20 08:59:47 2012 +0100
1.3 @@ -287,7 +287,12 @@
1.4 * @return {@code true} if this object represents an interface;
1.5 * {@code false} otherwise.
1.6 */
1.7 - public native boolean isInterface();
1.8 + public boolean isInterface() {
1.9 + return (getAccess() & 0x200) != 0;
1.10 + }
1.11 +
1.12 + @JavaScriptBody(args = "self", body = "return self.access;")
1.13 + private native int getAccess();
1.14
1.15
1.16 /**