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

Plugin/Netscape6.1: JFileChooser requires floppy disk to be presented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.1_01
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt, windows_xp

      Description

      JDK : jdk1.3.1_01a build 08
      Platform[s] : Windows XP Professional Plugin/Netscape 6.1, Windows NT4.0 Plugin/Netscape 6.1

      When applet creates JFileChooser object if no floppy disk is presented
      in the drive, the message
      "There is no disk in the drive. Please insert a disk into derive A:\"
      appears and applet's execution is blocked until this message is presented.

      This bug is not reproducible with IE5.5, IE6.0, Netscape 4.76.

      It seems that the message is generated by Windows NT' service
      csrss.exe - Client Server Runtime Subsistem, not by Netscape or Java Plug-in.

      Please note, this behavior may affect some JCK tests.

      How to reproduce:
      =================
      Compile following applet and run it under Netscape 6.1/Windows XP (HTML source below).

      You will see the message
      "[netscp6.exe - No disk] There is no disk in the drive. Please insert a disk into drive A:\ [abort][retry][ignore]"

      ----- test.java -----
      import java.applet.*;
      import javax.swing.*;
      import javax.swing.filechooser.*;

      public class test extends Applet {
         public static void main( String[] args ) {
            new test().init();
         }
         public void init() { new JFileChooser(); }
      }
      ----- end test.java -----

      ----- test.html -----
      <html>
      <!--"CONVERTED_APPLET"-->
      <!-- CONVERTER VERSION 1.3 -->
      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
      WIDTH = 600 HEIGHT = 400 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
      <PARAM NAME = "scriptable" VALUE="false">
      <PARAM NAME = CODE VALUE = "test" >
      <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
      <COMMENT>
      <EMBED type="application/x-java-applet;version=1.3" CODE = "test" WIDTH = 600 HEIGHT = 400 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>

      </NOEMBED></EMBED>
      </OBJECT>

      <!--
      <APPLET CODE = "test" WIDTH = 600 HEIGHT = 400>
      </APPLET>
      -->
      <!--"END_CONVERTED_APPLET"-->

      </html>

      ----- end test.html -----

      Specific Machine Info:
      =====================
      Hostname: jck-win2000xp
      OS: Windows XP Professional
      Browser: Netscape 6.1

      Hostname: jck-win5
      OS: Windows NT 4.0
      Browser: Netscape 6.1

        Attachments

          Activity

            People

            Assignee:
            xlu Xiaobin Lu (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: