JDK-8256822 : runtime/logging/RedefineClasses.java fails with "Error: VM option 'Verbose' is develop and is available only in debug version of VM."
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2020-11-21
  • Updated: 2020-11-26
  • Resolved: 2020-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b26Fixed
Related Reports
Relates :  
Relates :  
Description
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)*----------
Comments
Changeset: 1aa90ac6 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2020-11-21 21:55:59 +0000 URL: https://github.com/openjdk/jdk/commit/1aa90ac6
21-11-2020