[cp-patches] FYI: Fix serialVersionUID computation for enums and proxies

2007-06-20 Thread Jeroen Frijters
Hi, Committed. Regards, Jeroen 2007-06-21 Jeroen Frijters <[EMAIL PROTECTED]> * java/io/ObjectStreamClass.java (getClassUID): Return 0L for enums and proxies. Index: ObjectStreamClass.java === RCS file: /cvsroot/

[cp-patches] FYI: java/net/URLClassLoader.java fixes

2007-06-20 Thread Jeroen Frijters
Hi, More bugs exposed by mixing with OpenJDK code. We need to add the factory to the factory cache before calling addURLs, because addURLs will end up querying the cache and the will throw a NPE if the factory isn't there. Calling initCause() on a ClassNotFoundException is not allowed on OpenJ

[cp-patches] FYI: Fix for 32356

2007-06-20 Thread Jeroen Frijters
Hi, Committed. Regards, Jeroen 2007-06-21 Jeroen Frijters <[EMAIL PROTECTED]> Fixes #32356 * java/lang/reflect/Array.java (newInstance(Class,int[])): Call createMultiArray correctly. (createMultiArray): Fixed dimensions processing order. Index: java/lang/refle

[cp-patches] FYI: Compilation errors when mixing with OpenJDK code

2007-06-20 Thread Jeroen Frijters
Hi, I committed the patches below to fix some compilation errors when mixing this code with OpenJDK code. Regards, Jeroen 2007-06-21 Jeroen Frijters <[EMAIL PROTECTED]> * gnu/java/net/loader/URLLoader.java (URLLoader(URLClassLoader,URLStreamHandlerCache, URLStreamHand

[cp-patches] FYI: Fix to gnu/java/security/Engine.java

2007-06-20 Thread Jeroen Frijters
Hi, I committed the patch below. It fixes a bug when the passed in service or algorithm aren't in the correct case (the initial lookup is case insenstive, but later on provider.getProperty() was called with the incorrectly cased key). Regards, Jeroen 2007-06-21 Jeroen Frijters <[EMAIL PROTEC

[cp-patches] RFC: native/jni/java-nio/gnu_java_nio_VMChannel.c

2007-06-20 Thread Ito Kazumitsu
Hi, FreeBSD needs both ioctl and fstat, The former for character devices and the latter for files. ChangeLog: 2007-06-21 Ito Kazumitsu <[EMAIL PROTECTED]> Fixes bug #30377 * native/jni/java-nio/gnu_java_nio_VMChannel.c (Java_gnu_java_nio_VMChannel_available): Retry usin