jdk/test/java/lang/System/LoggerFinder/DefaultLoggerFinderTest/DefaultLoggerFinderTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
50 /** |
50 /** |
51 * @test |
51 * @test |
52 * @bug 8140364 |
52 * @bug 8140364 |
53 * @summary Tests the default implementation of System.Logger, when |
53 * @summary Tests the default implementation of System.Logger, when |
54 * JUL is the default backend. |
54 * JUL is the default backend. |
|
55 * @modules java.logging |
55 * @build AccessSystemLogger DefaultLoggerFinderTest |
56 * @build AccessSystemLogger DefaultLoggerFinderTest |
56 * @run driver AccessSystemLogger |
57 * @run driver AccessSystemLogger |
57 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest NOSECURITY |
58 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest NOSECURITY |
58 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest NOPERMISSIONS |
59 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest NOPERMISSIONS |
59 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest WITHPERMISSIONS |
60 * @run main/othervm -Xbootclasspath/a:boot DefaultLoggerFinderTest WITHPERMISSIONS |