From c9a0a68a687825a4cbf10006a53598697d6833b8 Mon Sep 17 00:00:00 2001 From: Goetz Lindenmaier Date: Tue, 8 Oct 2024 10:17:37 +0000 Subject: [PATCH] 8341635: [17u] runtime/ErrorHandling/ClassPathEnvVar test ignores external VM flags Reviewed-by: lucy --- test/hotspot/jtreg/runtime/ErrorHandling/ClassPathEnvVar.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/hotspot/jtreg/runtime/ErrorHandling/ClassPathEnvVar.java b/test/hotspot/jtreg/runtime/ErrorHandling/ClassPathEnvVar.java index e0aeb937910..68fbf40e441 100644 --- a/test/hotspot/jtreg/runtime/ErrorHandling/ClassPathEnvVar.java +++ b/test/hotspot/jtreg/runtime/ErrorHandling/ClassPathEnvVar.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2021, 2022, 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 @@ -25,6 +25,7 @@ * @test * @bug 8271003 * @summary CLASSPATH env variable setting should not be truncated in a hs err log. + * @requires vm.flagless * @requires vm.debug * @library /test/lib * @run driver ClassPathEnvVar