The empty path (for the current directory) now exists

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      A file "" is reported to exist, in the past it didn't.

      REGRESSION : Last worked in version 21.0.9

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jshell
      | Welcome to JShell -- Version 25.0.1
      | For an introduction type: /help intro

      jshell> new File("").exists()
      $1 ==> true

      while

      $ jshell
      | Welcome to JShell -- Version 21.0.8
      | For an introduction type: /help intro

      jshell> new File("").exists()
      $1 ==> false

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      false

      ---------- BEGIN SOURCE ----------
      new File("").exists()
      ---------- END SOURCE ----------

            Assignee:
            Raghu Kale
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: