This content has been marked as final.
Show 6 replies
-
1. Re: ... can not access a member of class ... with modifiers
clebert.suconic Jun 14, 2006 2:10 PM (in response to olegnitz)There is another post about Externalizable static classes also.
I will try to reproduce a testcase within SoakTestCase.
But are you sure you don't have any ClassLoader isolation issue within your environment?
What class you're trying to serialize. Is that your own class, or do you have public available I could take a look? -
2. Re: ... can not access a member of class ... with modifiers
clebert.suconic Jun 15, 2006 2:07 AM (in response to olegnitz)http://jira.jboss.com/jira/browse/JBSER-80
I guess I have reproduced the bug. -
3. Re: ... can not access a member of class ... with modifiers
clebert.suconic Jun 15, 2006 3:45 AM (in response to olegnitz)Look at this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84449&start=10
This should be fixed tomorrow.
Thanks,
Clebert -
4. Re: ... can not access a member of class ... with modifiers
olegnitz Jun 15, 2006 6:54 AM (in response to olegnitz)Hi Clebert,
But are you sure you don't have any ClassLoader isolation issue within your environment?
No, I am not sure. But I've got this exception both inside JBoss (where the inner class is loaded via in jboss-service.xml - I mean it's loaded not via bean classloader) and inside our client part, where we use our own classloader, but it's quite simple, it just understands wildcard classpath format. With Java serialization we have no problem.What class you're trying to serialize. Is that your own class, or do you have public available I could take a look?
Yes, it's our own class. I've sent it to you via e-mail.
I hope you've really reproduced the bug. However as far as I know from our testers, it appears also with public inner class, while in your jira issue it's private. Anyway I wish you success and I promise to test the new version ;) -
5. Re: ... can not access a member of class ... with modifiers
clebert.suconic Jun 15, 2006 11:18 AM (in response to olegnitz)Yes...
I have the fix...
it will be committed soon.
Cheers,
Clebert -
6. Re: ... can not access a member of class ... with modifiers
olegnitz Jun 22, 2006 4:45 AM (in response to olegnitz)Now everything works fine.
Thank you, Clebert, nice work!