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

Java Plug-in 1.3.1_01a auto install may download corrupted file

XMLWordPrintable

    • x86
    • windows_nt

      When installing 1.3.1_01a through auto download, the binary is download across the net. However, in some machines, the auto installer may think the download is completed if the connection may be dropped or broken. Thus, the auto installer may try to execute the install, and "Cannot execute 16-bit program" or crashes may be resulted. This problem occurred on various Win32 platforms, including XP, NT, 2K, ME.


      Fixed in jinstall.cpp to do VerifyTrustFile on the downloaded file.
      This code has already been checked into as part of the Resumable Download stuff.
      Now if the file is corrupted, a MessageBox pops saying it's corrupt.

      To verify run jinstall.exe to download from web like Merlin JRE bundle
      eg., http://java.sun.com/products/plugin/autodl/j2re-1_4_0-win.exe
      Cancel the download after some is done, then append few junk chars to it
      in c:\temp directory.
      Then run the jinstall againg and you will get the corrupt msg.
      Or you could create c:\temp\jinstaller141.exe with few characters in it
      and then run jinstall to resume from there. Then also corrupt
      dialog should popup.

            rkajasunw Rajani Kaja (Inactive)
            stanleyh Stanley Ho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: