|
29 | 29 | import java.lang.reflect.Constructor; |
30 | 30 | import java.lang.reflect.Field; |
31 | 31 | import java.lang.reflect.GenericSignatureFormatError; |
32 | | -//import java.lang.reflect.GenericSignatureFormatError; |
33 | | -import java.lang.reflect.InvocationTargetException; |
34 | 32 | import java.lang.reflect.Member; |
35 | 33 | import java.lang.reflect.Method; |
36 | 34 | import java.lang.reflect.Modifier; |
@@ -901,7 +899,10 @@ public Class<? super T> getSuperclass() { |
901 | 899 | * |
902 | 900 | * @return an array of interfaces implemented by this class. |
903 | 901 | */ |
904 | | - public native Class<?>[] getInterfaces(); |
| 902 | + public Class<?>[] getInterfaces() { |
| 903 | + JSUtil.notImplemented(null); |
| 904 | + return new Class<?>[0]; |
| 905 | + } |
905 | 906 |
|
906 | 907 | // /** |
907 | 908 | // * Returns the {@code Type}s representing the interfaces directly |
@@ -1012,12 +1013,17 @@ public int getModifiers() { |
1012 | 1013 | * primitive type or void. |
1013 | 1014 | * @since JDK1.1 |
1014 | 1015 | */ |
1015 | | - public native Object[] getSigners(); |
| 1016 | + public Object[] getSigners() { |
| 1017 | + JSUtil.notImplemented(null); |
| 1018 | + return new Object[0]; |
| 1019 | + } |
1016 | 1020 |
|
1017 | 1021 | /** |
1018 | 1022 | * Set the signers of this class. |
1019 | 1023 | */ |
1020 | | - native void setSigners(Object[] signers); |
| 1024 | + void setSigners(Object[] signers) { |
| 1025 | + JSUtil.notImplemented(null); |
| 1026 | + }; |
1021 | 1027 |
|
1022 | 1028 | // /** |
1023 | 1029 | // * If this {@code Class} object represents a local or anonymous class within |
@@ -1220,7 +1226,10 @@ public int getModifiers() { |
1220 | 1226 | * @return the declaring class for this class |
1221 | 1227 | * @since JDK1.1 |
1222 | 1228 | */ |
1223 | | - public native Class<?> getDeclaringClass(); |
| 1229 | + public Class<?> getDeclaringClass() { |
| 1230 | + JSUtil.notImplemented(null); |
| 1231 | + return null; |
| 1232 | + }; |
1224 | 1233 |
|
1225 | 1234 | // /** |
1226 | 1235 | // * Returns the immediately enclosing class of the underlying class. If the |
|
0 commit comments