equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2018, 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. |
24 import java.security.Permission; |
24 import java.security.Permission; |
25 import java.security.Policy; |
25 import java.security.Policy; |
26 import java.security.ProtectionDomain; |
26 import java.security.ProtectionDomain; |
27 import java.util.logging.LogManager; |
27 import java.util.logging.LogManager; |
28 import java.util.logging.Logger; |
28 import java.util.logging.Logger; |
29 import jdk.internal.misc.JavaAWTAccess; |
29 import jdk.internal.access.JavaAWTAccess; |
30 import jdk.internal.misc.SharedSecrets; |
30 import jdk.internal.access.SharedSecrets; |
31 |
31 |
32 /* |
32 /* |
33 * @test |
33 * @test |
34 * @bug 8025512 |
34 * @bug 8025512 |
35 * |
35 * |
36 * @summary NPE with logging while launching webstart |
36 * @summary NPE with logging while launching webstart |
37 * |
37 * |
38 * @modules java.base/jdk.internal.misc |
38 * @modules java.base/jdk.internal.access |
39 * java.logging |
39 * java.logging |
40 * @build TestGetLoggerNPE |
40 * @build TestGetLoggerNPE |
41 * @run main/othervm TestGetLoggerNPE getLogger |
41 * @run main/othervm TestGetLoggerNPE getLogger |
42 * @run main/othervm TestGetLoggerNPE getLogManager |
42 * @run main/othervm TestGetLoggerNPE getLogManager |
43 */ |
43 */ |