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

Formatter could use platform specific File.pathSeparator and File.separator

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10
    • Fix Version/s: tbd_major
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The java.util.Formatter has a symbol for platform specific line separator
      %n, but it would be very useful to have platform specific File.pathSeparator
      and File.separator. Then it would be easy to express file system paths

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ksrini Kumar Srinivasan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: