Peter Firmstone wrote:
I worked it out; in PreferredClassProvider, the property java.rmi.server.codebase is retrieved by a static initializer block, the DynamicPolicyProvider hasn't been set up properly when the permission check executes, it is rejected. I've added an object method to check if the value is null, it requests it later successfully. I don't know why this is so, I'm using Java 6 in server mode with source = 5. Is it a compiler optimisation?

Are you sure you aren't hit by a recursive call to the PolicyProvider? Reading a property is checked against the policy isn't it?

Gr. Sim

--
QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl
Quality Consultancy Group b.v., Leiderdorp, Kvk Leiden: 28088397

Reply via email to