--- a/src/hotspot/share/jfr/jni/jfrJavaSupport.cpp Mon Jun 04 13:53:51 2018 -0500
+++ b/src/hotspot/share/jfr/jni/jfrJavaSupport.cpp Mon Jun 04 22:03:10 2018 +0200
@@ -584,10 +584,8 @@
static void print_module_resolution_error(outputStream* stream) {
assert(stream != NULL, "invariant");
- stream->print_cr("%s not found.", JDK_JFR_MODULE_NAME);
+ stream->print_cr("Module %s not found.", JDK_JFR_MODULE_NAME);
stream->print_cr("Flight Recorder can not be enabled.");
- stream->print_cr("To use Flight Recorder, you might need to add" \
- " \"--add-modules %s\" to the VM command-line options.", JDK_JFR_MODULE_NAME);
}
bool JfrJavaSupport::is_jdk_jfr_module_available() {