File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
vmTestbase/nsk/share/jvmti Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ vmTestbase/metaspace/gc/firstGC_99m/TestDescription.java 8208250 generic-all
167167vmTestbase/metaspace/gc/firstGC_default/TestDescription.java 8208250 generic-all
168168
169169vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java 8073470 linux-all
170+ vmTestbase/nsk/jvmti/scenarios/events/EM02/em02t006/TestDescription.java 8372206 generic-all
170171vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java 8288911 macosx-all
171172
172173vmTestbase/jit/escape/LockCoarsening/LockCoarsening001.java 8148743 generic-all
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2003, 2024 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2003, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
2121 * questions.
2222 */
2323
24+ #include < stdio.h>
2425#include < stdlib.h>
2526#include < string.h>
2627
@@ -62,6 +63,9 @@ static volatile int currentAgentStatus = NSK_STATUS_PASSED;
6263
6364void nsk_jvmti_setFailStatus () {
6465 currentAgentStatus = NSK_STATUS_FAILED;
66+ printf (" Test failed by setFailStatus(). See log." );
67+ fflush (stdout);
68+ exit (97 );
6569}
6670
6771int nsk_jvmti_isFailStatus () {
You can’t perform that action at this time.
0 commit comments