The method creates an IO stream object, does not assign it to any fields, pass it to other methods, or return it, and does not appear to close it on all possible exception paths out of the method. This may result in a file descriptor leak. It is generally a good idea to use a finally block to ensure that streams are closed.
exception
最新推荐文章于 2021-02-21 12:47:54 发布
168

被折叠的 条评论
为什么被折叠?



