JDK-8268736 : Use apiNote in AutoCloseable.close javadoc
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-06-15
  • Updated: 2021-06-17
  • Resolved: 2021-06-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17 b27Fixed 18Fixed
Related Reports
CSR :  
Relates :  
Description
The javadoc of  AutoCloseable.close is from JDK 7 and thus predates tags like @apiNote. However, some of the discussion contained in  AutoCloseable.close is more appropriate as an apiNote that normal text.
Comments
Changeset: 31a055e6 Author: Joe Darcy <darcy@openjdk.org> Date: 2021-06-15 18:52:54 +0000 URL: https://git.openjdk.java.net/jdk17/commit/31a055e67a9a579a6b6ab26519271202da53a295
15-06-2021