From: Ken A. <kan...@bb...> - 2002-12-03 01:30:56
|
I've seen this in other applications that use the class path growing tri= ck that BeanShell uses. There are several ways to do class lookup now, a= nd it isn't clear to me what the "right way" is, because different API's = do class lookup differently. =20 If you put the class in the classpath appropriately and it works, it prob= ably means that serialization is using the system's class loader, which s= eems wrong, but its not the only API that does that. I've resorted to simply clobbering the system's class loader with my own = using reflection. Hopefully that's easy to do in BeanShell. At 03:30 PM 12/2/2002, Herve AGNOUX wrote: >Le Lundi 2 D=E9cembre 2002 21:09, Pat a =E9crit : > >> >> I believe there are some known issues relating to getting object >> serialization to use added classpath, etc. Is your Z class in a JAR = or >> dir that you added using addClassPath()? >> > >My class is in a dir that I added using addClassPath(). > >--=20 >SARL diaam informatique - 04 50 77 12 60 >Ingenierie, d=E9veloppements de syst=E8mes d'information >http://www.diaam-informatique.com > > >------------------------------------------------------- >This SF.net email is sponsored by: Get the new Palm Tungsten T=20 >handheld. Power & Color in a compact size!=20 >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en >_______________________________________________ >Beanshell-users mailing list >Bea...@li... >https://lists.sourceforge.net/lists/listinfo/beanshell-users |