Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report of [com.opslab.util.ZIPUtil] and some other utils do not support jdk 1.8 #6

Open
riclava opened this issue Sep 6, 2016 · 1 comment

Comments

@riclava
Copy link

riclava commented Sep 6, 2016

com.opslab.util.ZIPUtil at line 21

give a solution

try {
    ZipOutputStream zos = new ZipOutputStream(new FileOutputStream(dest));
    zipFile(file, zos, "");
    zos.flush();
    zos.close();
} catch (IOException e) {
    e.printStackTrace();
    throw e;
}
@0opslab
Copy link
Owner

0opslab commented Sep 7, 2016

Based on the JDK1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants