+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
? 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);