On Sun, 13 Apr 2025 20:01:28 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> I remember the implies method of the file permission class depends on whether 
> this system property is set. Although file permission is no longer used in 
> access control check the class and the method are still there.

Right, and I wasn't suggesting we remove implies(FilePermission), instead I'm 
wondering if the compatibility knob and the implNote can be removed. As you 
know, it dates from the change to FilePermission in JDK 9 to do simple path 
matching rather than canonicalization.

In any case, I don't want to complicate Roger's cleanup, I'm just noting that 
it's doing cleanup on a compatibility property that we should have removed a 
few releases/years ago.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24603#issuecomment-2800552748

Reply via email to