From: Gavin_King/Cirrus%<CI...@ci...> - 2002-02-22 11:01:08
|
A bug first reported by Gwenn and then later by Doug has now been fixed. I tracked it down to a difference between the IBM 1.3 JVM that I have been testing on and the Sun 1.4 JVM. The Sun behaviour is consistent with JDK 1.2 javadocs, so I'm not sure what's going on with IBM. Basically, conversion of an argument of java.lang.Method.invoke() to a primitive type is supposed to throw an IllegalArgumentException but on some platforms it throws a NullPointerException instead. Hibernate was expecting a NullPointerException. In other news: (1) I have rewritten the collections code and fixed some problems. (2) I have implemented atomicity of Session methods. Any invocation upon the session should now leave the session in a consistent state, even if it raises an exception (this requires some machinery, since the session is extremely reentrant). There is a performance cost to this, so it might be worth being able to turn this feature off, since most applications won't use it. I am happy to release version 0.9.6 now. Gavin |