https://issues.apache.org/bugzilla/show_bug.cgi?id=53811
Abu Abdullah <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from Abu Abdullah <[email protected]> --- piece of code: final TarOutputStream tarFile = new TarOutputStream(new FileOutputStream(pathName)); tarFile.setLongFileMode(TarOutputStream.LONGFILE_GNU); .... TarEntry tarEntry = new TarEntry(path); tarEntry.setSize(new File(pre_path+path).length()); tarFile.putNextEntry(tarEntry); in = new FileInputStream(convertPath(choosedAudioPath)+path); while((len = in.read(buf)) > 0) tarFile.write(buf, 0, len); tarFile.closeEntry(); in.close(); -- You are receiving this mail because: You are the assignee for the bug.
