Re: Unnecessary class load in JavaActuator

2010-03-17 Thread David Wood
), 914-396-6515 (mobile) From: Erik Bengtson To: imperius-dev@incubator.apache.org Date: 03/17/2010 04:06 PM Subject: Re: Unnecessary class load in JavaActuator David, I assume that code used to support static methods invocations, so the instance variable might be null on this scenario. I pr

Re: Unnecessary class load in JavaActuator

2010-03-17 Thread Erik Bengtson
TJ Watson Research Center > daw...@us.ibm.com > 914-784-5123 (office), 914-396-6515 (mobile) > > > > > From: > Neeraj Joshi/Durham/i...@ibmus > To: > imperius-dev@incubator.apache.org > Date: > 03/17/2010 02:15 PM > Subject: > Re: Unnecessary class load in J

Re: Unnecessary class load in JavaActuator

2010-03-17 Thread David Wood
e: 03/17/2010 02:15 PM Subject: Re: Unnecessary class load in JavaActuator Hey David, I can't seem to recall any specific reason for the code below. Did you see any issues using instance.getClass() ? Thanks Neeraj ~ Neeraj Joshi (knee-rudge) We

Re: Unnecessary class load in JavaActuator

2010-03-17 Thread Neeraj Joshi
e.org/imperius ~ From: David Wood/Watson/i...@ibmus To: imperius-dev@incubator.apache.org Date: 03/17/2010 12:41 PM Subject: Unnecessary class load in JavaActuator Hi All, I've got a situation in which my Java-bound policy imports an interface

Re: Unnecessary class load in JavaActuator

2010-03-17 Thread Craig L Russell
Hi David, It's a mystery to me as well. It's probably wrong, too. But the corner case would be two classes with the same name from different class loaders, and the subject code itself looks like it's broken. Craig On Mar 17, 2010, at 9:41 AM, David Wood wrote: Hi All, I've got a situat

Unnecessary class load in JavaActuator

2010-03-17 Thread David Wood
Hi All, I've got a situation in which my Java-bound policy imports an interface, but the implementation is provided by a class in a package I do not have access to. This leads to problems in the JavaActuator.invokeMethod() method which does the following: c = Class.forName(instance.getClass(