Skip to content

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

Open
@riclava

Description

@riclava

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions