File("").exists() change breaks legacy apps

XMLWordPrintable

    • b12
    • 25
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Java Runtime 25+ on macOS, windows, linux.

      A DESCRIPTION OF THE PROBLEM :
      With JDK-8024695 the behaviour of the File class was changed to behave similar to NIO classes.
      This breaks a lot of legacy apps which rely on the former behaviour and were created 10+ years ago.
      From comments in the mentioned bug a compat knob was planned but not implemented.

      REGRESSION : Last worked in version 24

            Assignee:
            Brian Burkhalter
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: