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

DefaultFileManager clean up: URI.create

XMLWordPrintable

    • b72
    • generic
    • generic
    • Not verified

        DefaultFileManager uses URI.create in some places to minimize the changes
        before Mustang beta 2. Ideally, this should be cleaned up.
        Similarly, we need to ensure that file names are treated consitently.

        For example, this combination is suspect:

           new File(externalizeFileName(packageName), relativeName)

        Since reltiveName is a "relative" URI it could be "resource/foo.properties"
        where as externalizeFileName(packageName) could be "com\\sun\\foo\\bar".

              jjg Jonathan Gibbons
              ahe Peter Ahe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: