OSDN Git Service

Don't init class during reflection signature scan.
authorAndy McFadden <fadden@android.com>
Tue, 16 Jun 2009 19:10:04 +0000 (12:10 -0700)
committerAndy McFadden <fadden@android.com>
Tue, 14 Jul 2009 17:47:19 +0000 (10:47 -0700)
commit798e74341e03edf2c30728a141dc6af7a89f9e1f
tree13b271eb401afdbc63f382c7b57b090f32acc793
parent2b82899181108c4ed290f8c6b6be13759b59768f
Don't init class during reflection signature scan.

Do not merge to master -- this is 57ea16e8 from there.

When processing Class.getDeclaredMethods() we create Method objects.
These have arrays of classes that indicate the method parameter types.
While generating the array we were initializing the classes we found,
which isn't necessary and led to some unpleasantness described in
external bug 3005.
tests/046-reflect/expected.txt
tests/046-reflect/src/Main.java
vm/reflect/Reflect.c