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

Improve java.sql toString formatting

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Current implementations of toString in java.sql classes Date, Time and Timestamp could all be optimized by formatting directly numbers directly into a fixed size char[] and subsequently avoid unnecessary array copies by using JavaLangAccess#newUnsafeString

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lancea Lance Andersen
                Reporter:
                redestad Claes Redestad
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: