OSDN Git Service

Another fix for external bug 2711 (over-eager conflicting class rejection).
authorAndy McFadden <fadden@android.com>
Wed, 27 May 2009 19:42:38 +0000 (12:42 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 27 May 2009 19:54:16 +0000 (12:54 -0700)
commite7b30940e1459c50b003edb3909eeeb919cab3d5
tree80ea7aa144c9091bcf9d2b35484e9fe9b47b96a5
parent686e1e23324f1c1f358f29f13f23e57b41c00eaa
Another fix for external bug 2711 (over-eager conflicting class rejection).

The validateSuperDescriptors() test also checks for conflicts with
interface classes, and wasn't doing that quite right.  We need to compare
every method declared by an interface against the class' implementation
of it.  Methods implemented by superclasses are now tested in the context
of the superclass, not the current class.

This is a one-word fix + comments and new/updated tests.
tests/068-classloader/expected.txt
tests/068-classloader/src-ex/GetDoubled.java [new file with mode: 0644]
tests/068-classloader/src/BaseOkay.java
tests/068-classloader/src/IGetDoubled.java [new file with mode: 0644]
tests/068-classloader/src/Main.java
vm/oo/Class.c