Skip to content

Commit 964118f

Browse files
committed
8268538: mark hotspot serviceability/logging tests which ignore external VM flags
Reviewed-by: sspitsyn
1 parent 05090fc commit 964118f

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

test/hotspot/jtreg/serviceability/logging/TestBasicLogOutput.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test TestBasicLogOutput
2626
* @summary Ensure logging can be enabled and successfully prints to stdout.
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver TestBasicLogOutput

test/hotspot/jtreg/serviceability/logging/TestDefaultLogOutput.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test TestDefaultLogOutput
2626
* @summary Ensure logging is default on stdout.
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver TestDefaultLogOutput

test/hotspot/jtreg/serviceability/logging/TestFullNames.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2019, 2021, 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
@@ -23,8 +23,9 @@
2323

2424
/*
2525
* @test TestFullNames
26-
* @summary Ensure proper parsing of unquoted full output names for -Xlog arguments.
2726
* @bug 8215398
27+
* @summary Ensure proper parsing of unquoted full output names for -Xlog arguments.
28+
* @requires vm.flagless
2829
* @modules java.base/jdk.internal.misc
2930
* @library /test/lib
3031
* @run driver TestFullNames

test/hotspot/jtreg/serviceability/logging/TestMultipleXlogArgs.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test TestMultipleXlogArgs
2626
* @summary Ensure multiple -Xlog arguments aggregate the logging options.
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @run driver TestMultipleXlogArgs

test/hotspot/jtreg/serviceability/logging/TestQuotedLogOutputs.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2021, 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
@@ -24,6 +24,7 @@
2424
/*
2525
* @test TestQuotedLogOutputs
2626
* @summary Ensure proper parsing of quoted output names for -Xlog arguments.
27+
* @requires vm.flagless
2728
* @modules java.base/jdk.internal.misc
2829
* @library /test/lib
2930
* @comment after JDK-8224505, this has to be run in othervm mode

0 commit comments

Comments
 (0)