diff --git a/test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPagesNative.java b/test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPagesNative.java index d3a132f4b62..7d3aae549e1 100644 --- a/test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPagesNative.java +++ b/test/hotspot/jtreg/runtime/StackGuardPages/TestStackGuardPagesNative.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2023, 2026, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -27,6 +27,7 @@ * @modules java.base/jdk.internal.misc * @library /test/lib * @requires os.family == "linux" + * @requires !jdk.static * @compile DoOverflow.java * @run main/native TestStackGuardPagesNative */