equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 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 MOD_SRC_DIR, MOD_DEST_DIR, |
67 MOD_SRC_DIR, MOD_DEST_DIR, |
68 "--module-source-path", |
68 "--module-source-path", |
69 MOD_SRC_DIR.toString()); |
69 MOD_SRC_DIR.toString()); |
70 |
70 |
71 // Create a keystore |
71 // Create a keystore |
72 tool("keytool", "-keystore x.jks -storetype jks -genkeypair" + |
72 tool("keytool", "-keystore x.jks -storetype jks -genkeypair -keyalg dsa" + |
73 " -storepass changeit -keypass changeit -alias x -dname CN=X") |
73 " -storepass changeit -keypass changeit -alias x -dname CN=X") |
74 .shouldHaveExitValue(0); |
74 .shouldHaveExitValue(0); |
75 |
75 |
76 // Create a jar file |
76 // Create a jar file |
77 JarUtils.createJar("x.jar", "x.jks"); |
77 JarUtils.createJar("x.jar", "x.jks"); |