diff -r a6c71e376889 -r 876ad06147f3 rt/emul/mini/src/main/java/java/lang/Class.java --- a/rt/emul/mini/src/main/java/java/lang/Class.java Sun Oct 20 20:36:03 2013 +0200 +++ b/rt/emul/mini/src/main/java/java/lang/Class.java Mon Jan 06 13:45:57 2014 +0100 @@ -632,6 +632,20 @@ return getAccess(); } + /** + * If the class or interface represented by this {@code Class} object + * is a member of another class, returns the {@code Class} object + * representing the class in which it was declared. This method returns + * null if this class or interface is not a member of any other class. If + * this {@code Class} object represents an array class, a primitive + * type, or void,then this method returns null. + * + * @return the declaring class for this class + * @since JDK1.1 + */ + public Class getDeclaringClass() { + throw new SecurityException(); + } /** * Returns the simple name of the underlying class as given in the