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

(spec) File.createTempFile(prefix, suffix, dir) needs clarification for illegal symbols in suffix

    XMLWordPrintable

Details

    • b14
    • generic
    • generic

    Description

      Specification for File.createTempFile(prefix, suffix, dir) reads:
      "To create the new file, the prefix and the suffix may first be adjusted to fit the limitations of the underlying platform." And then specification explains how to deal with too long prefix and suffix. But it's not clear from specification how symbols that are illegal for underlying filesystem should be treated. Whether they should be omitted, replaced or IOException should be thrown.

      We have challenge 6416299 on tck_cdc for this ambiguity.

      Attachments

        Issue Links

          Activity

            People

              bpb Brian Burkhalter
              mismirno Mikhail Smirnov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: