8227815: Minimal VM: set_state is not a member of AttachListener
Reviewed-by: cjplummer
--- a/src/hotspot/share/runtime/os.cpp Thu Jul 18 13:16:10 2019 +0200
+++ b/src/hotspot/share/runtime/os.cpp Thu Jul 18 21:25:41 2019 +0900
@@ -360,6 +360,7 @@
switch (sig) {
case SIGBREAK: {
+#if INCLUDE_SERVICES
// Check if the signal is a trigger to start the Attach Listener - in that
// case don't print stack traces.
if (!DisableAttachMechanism) {
@@ -385,6 +386,7 @@
continue;
}
}
+#endif
// Print stack traces
// Any SIGBREAK operations added here should make sure to flush
// the output stream (e.g. tty->flush()) after output. See 4803766.