equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
26 import java.nio.file.Paths; |
26 import java.nio.file.Paths; |
27 import java.security.AccessControlException; |
27 import java.security.AccessControlException; |
28 import java.security.AccessController; |
28 import java.security.AccessController; |
29 import java.security.Permission; |
29 import java.security.Permission; |
30 import java.security.PrivilegedAction; |
30 import java.security.PrivilegedAction; |
31 import jdk.testlibrary.ProcessTools; |
31 import jdk.test.lib.process.ProcessTools; |
32 |
32 |
33 /** |
33 /** |
34 * @test |
34 * @test |
35 * @bug 8048360 |
35 * @bug 8048360 |
36 * @summary test policy entry with signedBy alias |
36 * @summary test policy entry with signedBy alias |
37 * @library /lib/testlibrary |
37 * @library /test/lib |
38 * @run main/othervm SignedJarTest |
38 * @run main/othervm SignedJarTest |
39 */ |
39 */ |
40 public class SignedJarTest { |
40 public class SignedJarTest { |
41 |
41 |
42 private static final String FS = File.separator; |
42 private static final String FS = File.separator; |