From db0422dcdec1769a6d7782303bb9c20151681ef6 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 25 Nov 2013 09:54:40 -0600 Subject: [PATCH] Proxy: make all methods public Proxies implement interfaces whose methods *must* be public, as per the specification of the Java language. Signed-off-by: Johannes Schindelin --- classpath/java/lang/reflect/Proxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classpath/java/lang/reflect/Proxy.java b/classpath/java/lang/reflect/Proxy.java index c4ed436dfb..16187e6f55 100644 --- a/classpath/java/lang/reflect/Proxy.java +++ b/classpath/java/lang/reflect/Proxy.java @@ -368,7 +368,7 @@ public class Proxy { { int i = 0; for (avian.VMMethod m: virtualMap.values()) { methodTable[i] = new MethodData - (0, + (Modifier.PUBLIC, ConstantPool.addUtf8(pool, Classes.toString(m.name)), ConstantPool.addUtf8(pool, Classes.toString(m.spec)), makeInvokeCode(pool, name, m.spec, m.parameterCount,