< prev index next >

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

Print this page

        

@@ -141,10 +141,11 @@
      *
      * @param out the output stream
      * @exception IOException if an I/O error has occurred
      * @see #getMainAttributes
      */
+    @SuppressWarnings("deprecation")
     public void write(OutputStream out) throws IOException {
         DataOutputStream dos = new DataOutputStream(out);
         // Write out the main attributes for the manifest
         attr.writeMain(dos);
         // Now write out the pre-entry attributes
< prev index next >