JDK-8278143 : Remove unused "argc" from ConstantPool::copy_bootstrap_arguments_at_impl
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 11,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-12-02
  • Updated: 2021-12-05
  • Resolved: 2021-12-05
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 18
18 masterFixed
Related Reports
Relates :  
Description
SonarCloud complains about this. And in the tower of if-expressions, it is not even clear to me that `argc` would be properly initialized. Better to clean that up.
Comments
Changeset: 839b6067 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-12-05 21:38:45 +0000 URL: https://git.openjdk.java.net/jdk/commit/839b6067c85cfc260803af9b01dd1e7e7f8388db
05-12-2021