RFR 8164705: Remove pathname canonicalization from FilePermission

Weijun Wang weijun.wang at oracle.com
Tue Aug 30 03:07:53 UTC 2016


On 8/29/2016 20:18, Alan Bateman wrote:
> FilePermCompat is a ugly, particularly FilePermission changing its
> public fields.

Do you prefer the traditional SharedSecrets way?

    SharedSecrets.setJavaIoFilePermissionAccess(
            new JavaIoFilePermissionAccessImpl());

> Also method names like impliesWithAltFP,
> newPermPlusAltPath, ... could be re-visited to make them much clearer.

Oh, I stuffed the verb and prepositional phrase into the method name to 
make it clearer. Or you don't like the abbreviations?

Thanks
Max



More information about the security-dev mailing list