src/java.base/share/classes/java/util/jar/Pack200.java
changeset 50603 95c0644a1c47
parent 47216 71c04702a3d5
child 52902 e3398b2e1ab0
--- a/src/java.base/share/classes/java/util/jar/Pack200.java	Sat Jun 16 10:10:54 2018 +0100
+++ b/src/java.base/share/classes/java/util/jar/Pack200.java	Fri Jun 15 17:34:01 2018 -0700
@@ -101,7 +101,10 @@
  * @author John Rose
  * @author Kumar Srinivasan
  * @since 1.5
+ * @deprecated This class is deprecated, and is planned for removal in a future
+ *             release.
  */
+@Deprecated(since="11", forRemoval=true)
 public abstract class Pack200 {
     private Pack200() {} //prevent instantiation
 
@@ -225,7 +228,10 @@
      * to be thrown.
      *
      * @since 1.5
+     * @deprecated This interface is deprecated, and is planned for removal in a
+     *             future release.
      */
+    @Deprecated(since="11", forRemoval=true)
     public interface Packer {
         /**
          * This property is a numeral giving the estimated target size N
@@ -584,7 +590,10 @@
      * <p>
      * This version of the unpacker is compatible with all previous versions.
      * @since 1.5
+     * @deprecated This interface is deprecated, and is planned for removal in a
+     *             future release.
      */
+    @Deprecated(since="11", forRemoval=true)
     public interface Unpacker {
 
         /** The string "keep", a possible value for certain properties.