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

java.io.FilePermission: ambiguous path names /* and /-

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      as '/*' and '/-' are both allowed file names, these strings cannot be used to signify 'all files in directory, recursive or not.
      Same for '<<ALL FILES>>'.
      How to resolve that problem? Well in Unix only \0 and / are not allowed.
      For windows i think \ is not allowed,
      so the file separator.
      about 0 i dont know.
      If / represents the file separator, maybe ending in / can signify /*
      and ending // recursive.

      I wonder whether '.' and '..' are useable also.


            weijun Weijun Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: