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

SA utilities: jinfo -sysprops throws NPE when debuggee is runs with class sharin

XMLWordPrintable

    • b48
    • generic
    • generic
    • Verified

      Debuggee was run with class sharing on :

      java -client t // by default class sharing is on

      or

      java -client -Xshare:on t // explicit class sharing on


      Then,

      jinfo -sysprops <pid>

      is run, NPE is thrown:


      null = Exception in thread "main" java.lang.NullPointerException
          at java.util.Hashtable.get(Hashtable.java:336)
          at sun.jvm.hotspot.tools.SysPropsDumper.run(SysPropsDumper.java:26)
          at sun.jvm.hotspot.tools.JInfo.run(JInfo.java:46)
          at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
          at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:73)


      ###@###.### 2004-04-09

            sundar Sundararajan Athijegannathan
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: