equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, 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. |
111 isSignedCount++; |
111 isSignedCount++; |
112 } |
112 } |
113 } |
113 } |
114 } |
114 } |
115 |
115 |
116 if (isSignedCount != 3) { |
116 if (isSignedCount != 4) { |
117 throw new SecurityException("error signing JAR file"); |
117 throw new SecurityException("error signing JAR file"); |
118 } |
118 } |
119 |
119 |
120 System.out.println("jar verified"); |
120 System.out.println("jar verified"); |
121 } |
121 } |