JDK-8278320 : Small refactor of SummaryTab.java to limit scope of warning suppression
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: tools
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-12-06
  • Updated: 2024-08-06
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Description
As suggested by Stuart here:
https://github.com/openjdk/jdk/pull/6465#discussion_r760694277
if the call to (now deprecated) getObjectPendingFinalizationCount() on L219 is moved to a local variable declaration, the @SuppressWarnings("deprecation") can be moved to apply to just the local variable, instead of the entire formatSummary() method.