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

runtime/logging/RedefineClasses.java fails with "Error: VM option 'Verbose' is develop and is available only in debug version of VM."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b26
    • generic
    • generic

      The following test fails in the JDK16 CI:

      runtime/logging/RedefineClasses.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/453)----------
      command: main -Xmx256m -XX:MaxMetaspaceSize=64m -javaagent:redefineagent.jar -XX:+Verbose -Xlog:all=trace:file=all.log RedefineClasses
      reason: User specified action: run main/othervm -Xmx256m -XX:MaxMetaspaceSize=64m -javaagent:redefineagent.jar -XX:+Verbose -Xlog:all=trace:file=all.log RedefineClasses
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.compiler,java.instrument
      elapsed time (seconds): 0.039
      ----------configuration:(3/60)----------
      Boot Layer
        add modules: java.compiler java.instrument

      ----------System.out:(0/0)----------
      ----------System.err:(3/195)----------
      Error: VM option 'Verbose' is develop and is available only in debug version of VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ----------rerun:(45/5609)*----------

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: