mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 00:48:38 +00:00
8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Reviewed-by: lmesnik
This commit is contained in:
parent
69014cd55b
commit
62b7c5eaed
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -30,6 +30,7 @@
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm JDKLoggerForImageTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -30,6 +30,7 @@
|
||||
* 2. clients are in named/unnamed module,
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test DOES require existence of java.logging module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm JDKLoggerForJDKTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -30,6 +30,7 @@
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm LoggerInImageTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -32,6 +32,7 @@ import java.io.File;
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm NamedLoggerForImageTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -32,6 +32,7 @@ import java.io.File;
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm NamedLoggerForJDKTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -32,6 +32,7 @@ import java.io.File;
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm UnnamedLoggerForImageTest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2023, 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
|
||||
@ -32,6 +32,7 @@ import java.io.File;
|
||||
* patched system module, or Xbootclasspath
|
||||
* This test does not require existence of java.logging module,
|
||||
* but require jdk.compiler module
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build Base jdk.test.lib.compiler.CompilerUtils
|
||||
* @run main/othervm UnnamedLoggerForJDKTest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user