branch | reflection |
changeset 264 | ed0c92c81ea4 |
parent 262 | 683719ffcfe7 |
child 266 | 2e2e6f946208 |
1.1 --- a/emul/src/main/java/java/lang/Class.java Tue Dec 04 15:32:18 2012 +0100 1.2 +++ b/emul/src/main/java/java/lang/Class.java Wed Dec 05 09:28:31 2012 +0100 1.3 @@ -616,7 +616,7 @@ 1.4 * @since JDK1.1 1.5 */ 1.6 public Method[] getMethods() throws SecurityException { 1.7 - throw new SecurityException(); 1.8 + return Method.findMethods(this); 1.9 } 1.10 1.11 /**