I found following commit in svn:

Resolves OGNL-49. Was getting compilation errors from javassist in disabled
caching mode because sometimes the hashcodes were equal for class
names...Added a global increment counter to force uniqueness.

Without globalCounter code works perfectly on WebSphere.

Please take look on this code:

            ClassFab classFab =
_classFactory.newClass(expression.getClass().getName() +
expression.hashCode()
                                                       + ++_globalCounter +
"Accessor", Object.class);

With globalCounter code throws exception on IBM JVM 1.5.0.


Denis Burlaka wrote:
> 
> 2007/5/16, Alex Rytov <[EMAIL PROTECTED]>:
> 
>>
>> Sorry, as i see the problem in Tapestry 4.1.2-SNAPSHOT.
>> Tapestry 4.1.1 works with javassist 3.4 and
>> ognl-2.7-20070425.021856-29.jar
>> correctly.
> 
> 
> Yes. Tapestry-4.1.1 works fine with javassist-3.4 and
> ognl-2.7-20070425.021856-29.jar.
> There must be something wrong with Tapestry-4.1.2-snapshot.
> 
> Please help us to fix this problem, it's very important for us.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-on-the-IBM-WebShpere-tf3757667.html#a10639208
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to