I'm implementing a replacement for java.security.Permissions called ConcurrentPermissions.

The majority of tests (jtreg) are passing, however I haven't committed this due to the about to be released River 2.2.0 still supporting Java 1.4 (we voted on this some time back) and my implementation using Java 5 language and libraries.

I've also created a new interface RevokeablePermissionCollection, with the ability to revoke(Permission ... permission) for read write PermissionCollection's and revokeAll(Permission permission) for read only and read write PermissionCollection's. My implementation wraps any existing PermissionCollection, the wrapper is also using a ReentrantReadWriteLock to allow concurrent reads and synchronized writes. I figured this would fit in nicely with DynamicPolicy.

Seeing its almost finished, I'd be prepared to commit it if no one has any objections. I'd like a way to make it's use optional but haven't thought that part out yet.

I'll post a patch update on jira River-323 soon, then I'll commit your patches.

Regards,

Peter.

Sim IJskes - QCG wrote:
Peter Firmstone wrote:
I'm running into problems with the following test, it doesn't have jsk-policy.jar on it's classpath

Anyone know where to set the classpath for this test?

The missing class file org.apache.river.security.concurrent.ConcurrentPermissions is in jsk-policy.jar


I'm running the test from the trunk release (r834002) and a can't find a org.apache.river class. It doesn't either though.

Where can i find the org.apache.river stuff?

Gr. Sim


Reply via email to