JDK-6813240 : Remove dead code in sun.misc.FormattedFloatingDecimal class
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 7
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-03-04
  • Updated: 2010-04-02
  • Resolved: 2009-03-27
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 7
7 b53Fixed
Related Reports
Relates :  
Description
sun.misc.FormattedFloatingDecimal was created to support the implementation of java.util.Formatter and the following methods are used by the Formatter class.
  getChars()
  getExponent()
  getExponentRounded()

Several methods (e.g. readJavaFormatString()) that are copied from sun.misc.FloatingDecimal are not used anywhere.  They can be removed.

Comments
SUGGESTED FIX Attached the patch.
13-03-2009

EVALUATION Remove dead code in JDK7.
04-03-2009