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

jimage tool extract and recreate options are not consistent (no NPE)

XMLWordPrintable

    • b79
    • Verified

        Commands to run (test with jdk9-b74):
        1) jdk1.9.0\bin\jimage.exe extract --dir jimage_orig jdk1.9.0\lib\modules\bootmodules.jimage
        2) jimage.exe recreate --dir jimage_orig re_bootmodules.jimage
        3) replace original bootmodules.jimage with new re_bootmodules.jimage
        4) jdk1.9.0\bin\java -version

        the result:
        A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (imageFile.cpp:137), pid=42728, tid=0x0000000000001303
        # guarantee(found) failed: missing module data

        verified on builds:
        - patch changes from JDK-8132335 and rebuild JDK on OS X 10.10.4
        - jdk-9-ea-bin-b75-windows-amd64-27_jul_2015.tar.gz from 27-Jul-2015 19:56 (http://jre.us.oracle.com/java/re/jdk/9.0/nightly-dev/latest/bundles/windows-amd64/)

              jfdenise Jean-Francois Denise (Inactive)
              afedorch Alexey Fedorchenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: