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

java Command-Line Argument Files getting corrupted for specific characters in -cp

XMLWordPrintable

    • x86_64
    • windows_7

      ADDITIONAL SYSTEM INFORMATION :
      Windows 7 - 64 bit

      A DESCRIPTION OF THE PROBLEM :
      java Command-Line Argument Files were introduced as part of JDK9.

      https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-4856361B-8BFD-4964-AE84-121F5F6CF111

      However, there are situations (if the classpath is very long), where the classpath is getting corrupted.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      I am linking a very specific reproducible zip file that contains code and instructions on how to reproduce this bug.

      https://files.mycloud.com/home.php?seuuid=b8d3b7ba1b5a5401f006a1f5cd9e4081&name=JKD10_bug

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I am linking a very specific reproducible zip file that contains code and instructions on how to reproduce this bug.

      https://files.mycloud.com/home.php?seuuid=b8d3b7ba1b5a5401f006a1f5cd9e4081&name=JKD10_bug
      ACTUAL -
      I am linking a very specific reproducible zip file that contains code and instructions on how to reproduce this bug.

      https://files.mycloud.com/home.php?seuuid=b8d3b7ba1b5a5401f006a1f5cd9e4081&name=JKD10_bug

      ---------- BEGIN SOURCE ----------
      I am linking a very specific reproducible zip file that contains code and instructions on how to reproduce this bug.

      https://files.mycloud.com/home.php?seuuid=b8d3b7ba1b5a5401f006a1f5cd9e4081&name=JKD10_bug
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None. This is actually blocking my project.

      FREQUENCY : always


            sdama Srinivas Dama (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: