equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 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. |
41 * @bug 8017174 8010727 8019945 |
41 * @bug 8017174 8010727 8019945 |
42 * @summary NPE when using Logger.getAnonymousLogger or |
42 * @summary NPE when using Logger.getAnonymousLogger or |
43 * LogManager.getLogManager().getLogger |
43 * LogManager.getLogManager().getLogger |
44 * |
44 * |
45 * @modules java.base/jdk.internal.misc |
45 * @modules java.base/jdk.internal.misc |
|
46 * java.logging |
46 * @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingApplet |
47 * @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingApplet |
47 * @run main/othervm -Dtest.security=on TestAppletLoggerContext LoadingApplet |
48 * @run main/othervm -Dtest.security=on TestAppletLoggerContext LoadingApplet |
48 * @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingMain |
49 * @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingMain |
49 * @run main/othervm -Dtest.security=on TestAppletLoggerContext LoadingMain |
50 * @run main/othervm -Dtest.security=on TestAppletLoggerContext LoadingMain |
50 * @run main/othervm -Dtest.security=off TestAppletLoggerContext One |
51 * @run main/othervm -Dtest.security=off TestAppletLoggerContext One |