Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6449883

BigDecimal.toString() incompatibilities should be noted in compatibility page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 5.0
    • 5.0u8
    • docs
    • b09
    • 5.0
    • b01
    • generic
    • generic
    • Verified

    Description

      There is incompatibility in BigDecimal.toString() between 1.4.2 and 1.5.0. If you run attached testcase,
      util 1.4.2 it returns 123000000,
      while 1.5.0 and later returns 1.23E+8
      It's in API doc, but user claimed this better be documented in pages such as following.
      http://java.sun.com/javase/technologies/compatibility.jsp
      http://java.sun.com/j2se/1.5.0/ja/compatibility.html

      Attachments

        Activity

          People

            duke J. Duke
            ogino Shinya Ogino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: