Commit 73a1415e by Michael Koch Committed by Michael Koch

2003-09-25 Michael Koch <konqueror@gmx.de>

	* java/lang/reflect/Proxy.java
	(getProxyClass): Remove workaround for gcj 3.0.x.

From-SVN: r71796
parent 2b1be54b
2003-09-25 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Proxy.java
(getProxyClass): Remove workaround for gcj 3.0.x.
2003-09-25 Michael Koch <konqueror@gmx.de>
* gnu/java/net/PlainDatagramSocketImpl.java
(finalize): Moved to directly after constructor.
(getNativeFD): New method.
......
......@@ -269,18 +269,9 @@ public class Proxy implements Serializable
? getProxyData0(loader, interfaces)
: ProxyData.getProxyData(pt));
// FIXME workaround for bug in gcj 3.0.x
// Not needed with the latest gcj from cvs
//clazz = (Configuration.HAVE_NATIVE_GENERATE_PROXY_CLASS
// ? generateProxyClass0(loader, data)
// : new ClassFactory(data).generate(loader));
if (Configuration.HAVE_NATIVE_GENERATE_PROXY_CLASS)
clazz = generateProxyClass0(loader, data);
else
{
ClassFactory cf = new ClassFactory(data);
clazz = cf.generate(loader);
}
clazz = (Configuration.HAVE_NATIVE_GENERATE_PROXY_CLASS
? generateProxyClass0(loader, data)
: new ClassFactory(data).generate(loader));
}
Object check = proxyClasses.put(pt, clazz);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment