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

Error while opening the JFileChooser with linkage problem

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows 10 Enterprise (10.0.17134)
      java version "1.8.0_191"
      Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      Whenever I open the JFileChooser to the operating system to select a file I get a shortcut error with the following message:

      "The drive or network connection to which the "" shortcut refers is not available. Make sure the disk is inserted correctly or the network resource is available, and then repeat the procedure."

      After I have removed all network drives and network resources the JFileChooser works as usual.

      The problem occurs after you update to Minor Version 191. The JFilechooser can be opened reproducibly with Minor Version 181.

      REGRESSION : Last worked in version 8u181

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Add a network resource to the Windows Explorer and open the JFileChooser anywhere.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The JFileChooser is displayed without error message and I can select a file.
      ACTUAL -
      An error message with the following text is displayed:

      "The drive or network connection to which the "" shortcut refers is not available. Make sure the disk is inserted correctly or the network resource is available, and then repeat the procedure."

      ---------- BEGIN SOURCE ----------
      Not necessary.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      After I have removed all network drives and network resources the JFileChooser works as usual.


      FREQUENCY : always


        1. error.png
          7 kB
          Pardeep Sharma
        2. FileChooserDemo.java
          6 kB
          Pardeep Sharma
        3. screenshot.png
          28 kB
          Pardeep Sharma

            dmarkov Dmitry Markov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: