AnnotationInvocationHandler.java: Generify in a few places.
authorAndrew Haley <aph@redhat.com>
Fri, 2 Mar 2007 19:05:57 +0000 (19:05 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 2 Mar 2007 19:05:57 +0000 (19:05 +0000)
commit0618281a42577cb71aee6013a60654e17564a410
treefa7dbba8055bf92572480812956e3f27f2774e19
parentdebac9f40daa8a953f770a0303e09f6d54d02c51
AnnotationInvocationHandler.java: Generify in a few places.

2007-03-02  Andrew Haley  <aph@redhat.com>

        * sun/reflect/annotation/AnnotationInvocationHandler.java:
        Generify in a few places.
        (equals): Rewrite to use invoke on local proxy.
        (deepToString): Remove most of it.
        (toString): Make nonstatic.
        (arrayClone): Delete.
        (coerce): New method.
        (invoke): Rewrite to handle gcj's structures correctly.
        * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for
        null loader.
        * sources.am: Regenerate.
        * Makefile.am: Likewise.

From-SVN: r122483
libjava/ChangeLog
libjava/Makefile.in
libjava/classpath/lib/sun/reflect/annotation/AnnotationInvocationHandler.class
libjava/sources.am
libjava/sun/reflect/annotation/AnnotationInvocationHandler.h
libjava/sun/reflect/annotation/AnnotationInvocationHandler.java