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

Runtime.exec() ACCESS_DENIED with 16-bit application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.1.3
    • Fix Version/s: 1.2.0
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.2beta4
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Description

      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://###@###.###
       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: