equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 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. |
79 private static final String ALIAS = "JavaTest"; |
79 private static final String ALIAS = "JavaTest"; |
80 private static final String STOREPASS = "changeit"; |
80 private static final String STOREPASS = "changeit"; |
81 private static final String KEYPASS = "changeit"; |
81 private static final String KEYPASS = "changeit"; |
82 private static final String SIGNED_JAR = "Signed.jar"; |
82 private static final String SIGNED_JAR = "Signed.jar"; |
83 private static final String POLICY_FILE = "SignedJar.policy"; |
83 private static final String POLICY_FILE = "SignedJar.policy"; |
84 private static final String VERSION = "" + Runtime.version().major(); |
84 private static final String VERSION = Integer.toString(10); |
85 private static final String VERSION_MESSAGE = "I am running on version " + VERSION; |
85 private static final String VERSION_MESSAGE = "I am running on version " + VERSION; |
86 |
86 |
87 public static void main(String[] args) throws Throwable { |
87 public static void main(String[] args) throws Throwable { |
88 // compile java files in jarContent directory |
88 // compile java files in jarContent directory |
89 compile("jarContent"); |
89 compile("jarContent"); |