jdk/src/java.base/share/classes/java/util/zip/Inflater.java
changeset 32649 2ee9017c7597
parent 32037 ab4526f4ac10
child 44534 a076dffbc2c1
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   393         synchronized (zsRef) {
   393         synchronized (zsRef) {
   394             return zsRef.address() == 0;
   394             return zsRef.address() == 0;
   395         }
   395         }
   396     }
   396     }
   397 
   397 
   398     private native static void initIDs();
   398     private static native void initIDs();
   399     private native static long init(boolean nowrap);
   399     private static native long init(boolean nowrap);
   400     private native static void setDictionary(long addr, byte[] b, int off,
   400     private static native void setDictionary(long addr, byte[] b, int off,
   401                                              int len);
   401                                              int len);
   402     private native int inflateBytes(long addr, byte[] b, int off, int len)
   402     private native int inflateBytes(long addr, byte[] b, int off, int len)
   403             throws DataFormatException;
   403             throws DataFormatException;
   404     private native static int getAdler(long addr);
   404     private static native int getAdler(long addr);
   405     private native static void reset(long addr);
   405     private static native void reset(long addr);
   406     private native static void end(long addr);
   406     private static native void end(long addr);
   407 }
   407 }