FYI
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4799
On Thu, 2010-01-14 at 13:23 -0600, Steve Ebersole wrote:
> Also, you seem to have a quite elaborate functional test that simply
> checks whether SerializationHelper is able to handle deserialing a class
> from an "isolated clas
Also, you seem to have a quite elaborate functional test that simply
checks whether SerializationHelper is able to handle deserialing a class
from an "isolated classloader" via the SerializableType. Couldn't we
just have a simple unit test that asserted exactly that?
On Wed, 2010-01-13 at 20:25
Oddly it does that already. Its just that only Serailaizable.class is
ever passed
http://fisheye.jboss.org/browse/Hibernate/core/trunk/core/src/main/java/org/hibernate/Hibernate.java?r=17767#l233
This has to do with the "static" nature of the type system.
On Thu, 2010-01-14 at 11:19 +0100, Emman
On 13 janv. 2010, at 19:10, Steve Ebersole wrote:
>>
>> So, getReturnedClass().getClassLoader() is not the answer here.
> There is the only answer unfortunately. Really you'd want the Class of
> the class implementing Serializable, but given how Hibernate's "type
> system" works currently, that
On 01/13/2010 07:10 PM, Steve Ebersole wrote:
>> For completion, getReturnedClass().getClassLoader() will always return
>> null because SerializableType is initialised with java.io.Serializable
>> as returned class, and it's classloader returns null (quite likely cos
>> it's a system class?).
> h
> For completion, getReturnedClass().getClassLoader() will always return
> null because SerializableType is initialised with java.io.Serializable
> as returned class, and it's classloader returns null (quite likely cos
> it's a system class?).
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cl
On 01/13/2010 05:31 PM, Galder Zamarreno wrote:
> Hi all,
>
> In Hibernate trunk, the following tests are failing:
>
> In JBC 2LC provider:
> MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion
> MVCCIsolatedClassLoaderTest.testClassLoaderHandlingStandardQueryCache
>
> In Infinispa
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4786
On Wed, 2010-01-13 at 17:31 +0100, Galder Zamarreno wrote:
> Hi all,
>
> In Hibernate trunk, the following tests are failing:
>
> In JBC 2LC provider:
> MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion
> MVCCI
Hi all,
In Hibernate trunk, the following tests are failing:
In JBC 2LC provider:
MVCCIsolatedClassLoaderTest.testClassLoaderHandlingNamedQueryRegion
MVCCIsolatedClassLoaderTest.testClassLoaderHandlingStandardQueryCache
In Infinispan 2LC provider:
IsolatedClassLoaderTest.testClassLoaderHandlingN