Code review request: 7059709, java/jsse, close the IO in a final block

Sean Mullan sean.mullan at oracle.com
Tue Jun 28 11:46:12 PDT 2011


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



More information about the security-dev mailing list