I think this is old code, but I don't believe there is an explicit close to be done. On [reading the doco](http://docs.oracle.com/javase/7/docs/api/java/net/JarURLConnection.html) there is no close shown in the sample either. Please clarify.