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

SCSL: Winzip 8.0 cannot extract os_share_win32.hpp from SCSL bundle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • hotspot
    • beta2
    • x86
    • generic

      The problem reported in this bug report will effect J2SE SCSL


      Winzip (version 8.0 in our case), on the Win32 platform, will encounter a problem uncompressing one HotSpot source file if the file is compressed in gZip format as part of a SCSL release. The problem does not happen on Unix.

      The file is called "os_share_win32.hpp" and is located in the src\os\share\win32\vm. The file is empty and is 0K (zero KB) in size (The file is ok and is not corrupted). For SCSL, this file will be compressed, along with the rest of the Hotspot source files, to build a SCSL bundle. If you try to extract the file on Win32, Winzip will think the file is corrupted and will fail to extract the file and fail to copy it to the Hotspot source directory. When the build is executed, the Hotspot makefile will try to build os_share_win32.hpp. The build process will fail because the file will not exist.

      The workaround to the problem is to have the user manually create an empty file called "os_share_win32.hpp" and save it in the src\os\share\win32\vm directory.
      This workaround would then need to be documented in the SCSL build instructions readme.

      A better workaround would be to put some data into the file (i.e. a comment saying /* This file not used */) so that it can be uncompressed successfully by Winzip.

      It would be nice if this problem could be fixed for Merlin Beta. It would be kind of strange to tell the user to create an empty source file in the Hotspot project so his build will work.

            dwallmansunw David Wallman (Inactive)
            pchinsunw Philip Chin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: