still dealing with JarInputStream issues.
[vamsas.git] / src / org / vamsas / client / simpleclient / SimpleClientAppdata.java
index 95362aa..91ad33d 100644 (file)
@@ -377,7 +377,7 @@ public class SimpleClientAppdata implements IClientAppdata {
       throw new IOException("FATAL! NO DOCUMENT TO WRITE TO!");
     }
     log.debug("Recovering AppData entry from "+apdjar.sessionFile);
-    JarInputStream istrm = new JarInputStream(new BufferedInputStream(new FileInputStream(apdjar.sessionFile)));
+    JarInputStream istrm = new JarInputStream(apdjar.getBufferedInputStream(true));
     JarEntry je=null;
     while (istrm.available()>0 && (je=istrm.getNextJarEntry())!=null && !je.getName().equals("appData_entry.dat")) {
       if (je!=null)