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

Runtime.exec() ACCESS_DENIED with 16-bit application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.1, 1.1.3
    • hotspot
    • None
    • 1.2beta4
    • x86
    • windows_nt
    • Not verified

      Three files to reproduce the problem has been attached.

         1. Rt2.java : a Java source code
         2. lha.exe : a Windows 16-bit application
         3. kobspin2.lzh : an input file to the application above

      Exact steps to recreate the problem :

         1. Place the attached source code (Rt2.java) onto your
            x86-PC with Windows NT 4.0 operation system.

         2. Compile it with the javac and place the resulting byte
            code (Rt2.class) into one of your CLASSPATH directory.
      command line: javac Rt2.java
                              copy Rt2.class <your-class-directory>

         3. Place the attached file lha.exe into c:\util
            directory, and kobspin2.lzh into c:\temp directory.

         4. Run the java application Rt2.
      command line: java Rt2

            An exception should occur with the traceback exactly the
            same as that in my original bug report.

      According to a Microsoft Win32 SDK document, error number 5 from
      the CreateProcess API means "ACCESS_DENIED"

      If this description still lacks something, please contact me again.

      Hisato Kato
      Steel CALS Consortium
      mailto://###@###.###
       

            hongzh Hong Zhang
            johsunw Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: