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

{ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods

XMLWordPrintable

      The ClassLoadingMXBean and MemoryMXBean APIs have setVerbose methods to control verbose mode and isVerbose methods to query it.

      Some JCK tests expect setVerbose(false) to disable verbose mode and, subsequently, isVerbose() to return false.

      However, if logging to a file is enabled by using -Xlog on the java launcher command line then isVerbose() returns true even after calling setVerbose(false).

            stefank Stefan Karlsson
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: