test/jdk/java/security/Policy/ExtensiblePolicy/ExtensiblePolicyWithJarTest.java
changeset 59104 046e4024e55a
parent 51675 b487c1e914d0
equal deleted inserted replaced
59103:4a09d4df104c 59104:046e4024e55a
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2019, 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.
    67                 "TVJar/TVPermissionCollection.class");
    67                 "TVJar/TVPermissionCollection.class");
    68 
    68 
    69         // create key pair for jar signing
    69         // create key pair for jar signing
    70         ProcessTools.executeCommand(KEYTOOL,
    70         ProcessTools.executeCommand(KEYTOOL,
    71                 "-genkey",
    71                 "-genkey",
       
    72                 "-keyalg", "DSA",
    72                 "-alias", ALIAS,
    73                 "-alias", ALIAS,
    73                 "-keystore", KEYSTORE,
    74                 "-keystore", KEYSTORE,
    74                 "-storetype", "JKS",
    75                 "-storetype", "JKS",
    75                 "-keypass", PASSWORD,
    76                 "-keypass", PASSWORD,
    76                 "-dname", "cn=Blah",
    77                 "-dname", "cn=Blah",