[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Disable ajcore files
|
Ohhh thanks =D
I reanalyzed ajcore file as you said and found a security failure and found
the solution. I added these permissions in the file "%was%/ java / jre /
java.policy":
// Needed by weaver for bytecode loading
permission java.io.FilePermission "<<ALL FILES>>", "read";
// Needed by BCEL
permission java.util.PropertyPermission "java.class.path", "read";
permission java.util.PropertyPermission "java.ext.dirs", "read";
permission java.util.PropertyPermission "JavaClass.*", "read";
// Needed by org.aspectj.weaver.tools.WeavingAdaptor
permission java.util.PropertyPermission "sun.boot.class.path",
"read";
// Needed to configure org.aspectj.weaver.WeavingURLClassLoader
permission java.util.PropertyPermission "aj.*", "read";
// Needed by weaving class loader
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "getClassLoader";
And my version of "aspectjweaver" is 1.6, and property
"org.aspectj.weaver.Dump.exception = false" does not really work on it.
Thank you for your quick response and clear explanation and objective. I
searched the whole internet and nothing behind it.
Thank you very much guy.
--
View this message in context: http://aspectj.2085585.n4.nabble.com/Disable-ajcore-files-tp4650406p4650414.html
Sent from the AspectJ - users mailing list archive at Nabble.com.