Here you can find the source of safeClose(JarFile jf)
public static void safeClose(JarFile jf)
//package com.java2s; import java.util.jar.JarFile; public class Main { public static void safeClose(JarFile jf) { try {// ww w. j a va 2 s . com if (jf != null) { jf.close(); } } catch (Exception e) { } } }