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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b152
    • Verification:
      Not verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              weijun Weijun Wang
              Reporter:
              vaibhav Vaibhav Choudhary
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: