Other |
---|
1.4.0 beta2Fixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
The default system policy file (in jre/lib/security/java.policy) grants all permissions to standard extensions, as follows: grant codeBase "file:${java.home}/lib/ext/*" { permission java.security.AllPermission; }; This uses a hardcoded path to the extensions directory, which users could change by setting the "java.ext.dirs" system property. Therefore, the above "grant" statement should be changed to: grant codeBase "file:${java.ext.dirs}/*" { permission java.security.AllPermission; };
|