# HG changeset patch # User weijun # Date 1412055538 -28800 # Node ID a7c2a3edbffcbce198184a820fb65e769683f2fc # Parent 3383e655118ea267e77bab19bf046dd9d91c577e 8058657: Add @jdk.Exported to com.sun.jarsigner APIs Reviewed-by: alanb, mchung diff -r 3383e655118e -r a7c2a3edbffc jdk/src/jdk.dev/share/classes/com/sun/jarsigner/ContentSigner.java --- a/jdk/src/jdk.dev/share/classes/com/sun/jarsigner/ContentSigner.java Mon Sep 29 18:56:32 2014 +0200 +++ b/jdk/src/jdk.dev/share/classes/com/sun/jarsigner/ContentSigner.java Tue Sep 30 13:38:58 2014 +0800 @@ -37,6 +37,7 @@ * @author Vincent Ryan */ +@jdk.Exported public abstract class ContentSigner { /** diff -r 3383e655118e -r a7c2a3edbffc jdk/src/jdk.dev/share/classes/com/sun/jarsigner/package-info.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/src/jdk.dev/share/classes/com/sun/jarsigner/package-info.java Tue Sep 30 13:38:58 2014 +0800 @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ +/** + * This package comprises the interfaces and classes used to define the + * signing mechanism used by the jarsigner tool. + *
+ * Clients may override the default signing mechanism of the jarsigner + * tool by supplying an alternative implementation of + * {@link com.sun.jarsigner.ContentSigner}. + */ + +@jdk.Exported +package com.sun.jarsigner; diff -r 3383e655118e -r a7c2a3edbffc jdk/src/jdk.dev/share/classes/com/sun/jarsigner/package.html --- a/jdk/src/jdk.dev/share/classes/com/sun/jarsigner/package.html Mon Sep 29 18:56:32 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ - - -
--Clients may override the default signing mechanism of the jarsigner -tool by supplying an alternative implementation of -{@link com.sun.jarsigner.ContentSigner}. - -