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

openjdk-15-ea+35 | Start any command java line tool after jlink, VM crashes

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10 pro version 1909
      Java version: JDK 15 RC Build 35 (2020/8/5)

      A DESCRIPTION OF THE PROBLEM :
      I have a closed-source command line tool.
      Full module dependedcies: MODULES="java.base java.net.http jdk.crypto.ec
      The tools works perfectly with jdk.

      Starting from openjdk-15-ea+22_windows-x64_bin.zip
      Reproducible on the latest Build 35 (2020/8/5)

      After using jlink:

      %JAVA_HOME%\bin\jlink --output TradeExe --compress 2 --no-header-files --no-man-pages -v ^
       --module-path target\ ^ --add-modules trade

      The VM crashed at start with

      EXCEPTION_ACCESS_VIOLATION (0xc0000005)

      the bug is described here, closed, but it have not been fixed yet
      https://bugs.openjdk.java.net/browse/JDK-8245912

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jlink a simple system.out.println app with only --add-modules java.base
      run a new app


      FREQUENCY : always


            pnarayanaswa Praveen Narayanaswamy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: