There are a lot of
new SharedActivationPolicyPermission("http://resendes:8080/policy.all";);
calls and a lot of
new SharedActivationPolicyPermission( fs + "vob" + fs + "jive" + fs +
"policy" + fs + "policy.all");
calls.

I think we established earlier that "resendes" is used to represent a
non-existent host.

Yes, i hadn't forgotten, but is it a bug or intentional.

The second one is a relative url, the first one isn't.

When we look at the javadocs for SharedActivationPolicyPermission the policy string argument has the same semantics as FilePermission. FilePermission has no URL, so SharedActivationPolicyPermission should not be a URL.

Flawed reasoning? Either the testcases with URL were undetected bugs, or the javadoc for SharedActivationPolicyPermission is a bug.

The URL stuff in init() is just enlisted to do some FileSeparator conversion, if the javadoc is right.

Gr. Sim

P.S. Bob? Any change that little birdie you talked about will tell us the solution?

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

Reply via email to