JDK-8319300 : Remove unused methods in WorkArounds and Utils
  • Type: Task
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2023-11-02
  • Updated: 2023-11-02
  • Resolved: 2023-11-02
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 22
22 masterFixed
Related Reports
Relates :  
Relates :  
Description
The following classes in the javadoc `WorkArounds` and `Utils` classes are not used anymore: 

 - WorkArounds.searchClass(TypeElement, String)
 - Utils.findClass(Element, String)
 - Utils.getClasses(Element)
 - Utils.findClassInPackageElement(PackageElement, String)

The last use of these (interdependent) methods was `ThrowsTaglet.inherit(...)`, which was removed in JDK-8295277.
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16472 Date: 2023-11-02 10:16:10 +0000
02-11-2023

Changeset: e9d19d0f Author: Hannes Wallnöfer <hannesw@openjdk.org> Date: 2023-11-02 12:21:26 +0000 URL: https://git.openjdk.org/jdk/commit/e9d19d0fffc47119d0d4f756833ec87cd0a6331e
02-11-2023