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

Failed to successfuly pass JVM args to javaws on relaunch

XMLWordPrintable

    • b125
    • x86
    • windows_xp
    • Verified

      FULL PRODUCT VERSION :
      1.6.0_12

      ADDITIONAL OS VERSION INFORMATION :
      Saw it on windows XP. SP2
      .. but probably happens on other OS too.

      A DESCRIPTION OF THE PROBLEM :
      I am trying to pass in JVM args, specifically -javaagent and -Xbootclasspath/a to my javaws command line arg.

      My command works in java version 1.6.0_6 but fails in 1.6.0_12, i.e the application even fails to launch with no error. the process is still there.

      Since the same command worked in 1.6.0_6 and prior versions, it seems like a bug.

      the command is simple:

      javaws -J-javaagent:<jar file> -J-Xbootclasspath/a:<jar file>




      REPRODUCIBILITY :
      This bug can be reproduced always.

      Release Regression From : 6u6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

      Release Regression From : 6u6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            herrick Andy Herrick (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: