On 6/27/11 9:29 PM, Xuelei Fan wrote: > webrev: http://cr.openjdk.java.net/~xuelei/7059709/webrev.00/ It seems you could restructure this code by moving the instantiation of the FileInputStream down just before the KeyStore.load and use a try-with-resources block instead. --Sean