< prev index next >

src/java.base/share/classes/java/util/jar/Pack200.java

Print this page
rev 50498 : 8199871: Deprecate pack200 and unpack200 tools
Reviewed-by:

@@ -99,11 +99,13 @@
  * method in this class will cause a {@link NullPointerException} to be thrown.
  *
  * @author John Rose
  * @author Kumar Srinivasan
  * @since 1.5
+ * @deprecated This class has been deprecated
  */
+@Deprecated(since="11", forRemoval=true)
 public abstract class Pack200 {
     private Pack200() {} //prevent instantiation
 
     // Static methods of the Pack200 class.
     /**

@@ -224,10 +226,11 @@
      * constructor or method in this class will cause a {@link NullPointerException}
      * to be thrown.
      *
      * @since 1.5
      */
+    @Deprecated(since="11", forRemoval=true)
     public interface Packer {
         /**
          * This property is a numeral giving the estimated target size N
          * (in bytes) of each archive segment.
          * If a single input file requires more than N bytes,

@@ -583,10 +586,11 @@
      * to be thrown.
      * <p>
      * This version of the unpacker is compatible with all previous versions.
      * @since 1.5
      */
+    @Deprecated(since="11", forRemoval=true)
     public interface Unpacker {
 
         /** The string "keep", a possible value for certain properties.
          * @see #DEFLATE_HINT
          */
< prev index next >