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

UsageTracker loses quotes on command-line VM arguments.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • core-svc
    • None
    • generic
    • generic

      The JVM arguments logged by UsageTracker lose their quotes which were present on the command-line. While it is usually clear, it can be confusing, e.g.:

      java -Dsomeprop="sometext -Xmx999m" -Xmx32m -cp ~/testprogs Threads

      Creates an entry where it's not obvious where the property setting ends an further arguments begin:

      VM start##Mon Dec 30 11:05:29 GMT 2013##hostname##Threads##/opt/java/jdk1.7.0.fcs/jre##1.7.0##23.0-b10-internal-jvmg##Oracle Corporation##Oracle Corporation##Linux##i386##3.8.0-33-generic##-Dsomeprop=sometext -Xmx999m -Xmx32m ##/home/kwalls/testprogs##

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: