不允许使用自关闭元素

qq_31988717 2017-04-18 05:03:51
Java新手,在生成API文档的时候,运行出错,
<br/>Copyright (C),2001-2012,Yeeku.H.Lee 不允许使用自关闭元素是什么意思啊,而且即使运行出错了,也仍然生成了API文档,这是为什么,求解答!!!!
...全文
187 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxyscls 2017-04-18
  • 打赏
  • 举报
回复
引用
public interface AutoCloseable An object that may hold resources (such as file or socket handles) until it is closed. The close() method of an AutoCloseable object is called automatically when exiting a try-with-resources block for which the object has been declared in the resource specification header. This construction ensures prompt release, avoiding resource exhaustion exceptions and errors that may otherwise occur.
API DOC跟这个有直接联系?

62,628

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧