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

[Test bug] Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE

    XMLWordPrintable

Details

    • b100
    • generic
    • generic
    • Not verified

    Backports

      Description

        Test com/sun/management/HotSpotDiagnosticMXBean/SetVMOption.java fails with NPE, because it tries to variable mbean when no object assigned to it:

        java.lang.NullPointerException
        at SetVMOption.findPrintGCDetailsOption(SetVMOption.java:135)
        at SetVMOption.main(SetVMOption.java:62)

        Attachments

          Issue Links

            Activity

              People

                jbachorik Jaroslav BachorĂ­k
                fzhinkin Filipp Zhinkin
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: