Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170900

Issue with FilePermission::implies for wildcard flag(-)

XMLWordPrintable

    • b152
    • Not verified

      Recently JCK test :

      FilePermission fp1 = new FilePermission("/-", *“*read");
      FilePermission fp2 = new FilePermission("filename", *“*read");
      assertTrue(fp1.implies(fp2));

      started failing.

      After the changed made by JDK-8164705.

      There is no clear direction and reason in spec that why this test will fail. In the comment section I am adding the discussion of Elena.

            weijun Weijun Wang
            vaibhav Vaibhav Choudhary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: