ObjectIn/OutputStream improvements

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs

      This bug covers some general improvements to ObjectIn/OutStream.

      More specifically:
       - Reuse the existing StringBuilder instance, where possible.
       - Skip primitive/object reading/writing if no primitives/objects in the stream/class.
       - For clarify and readability, SerialCallbackContext.checkAndSetUsed()
         should be invoked directly. It makes it very clear what the intent is.
       - General cleanup.

      see mail discussion on:
        http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-January/024778.html
        http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-February/024817.html
        http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-February/024860.html

            Assignee:
            Chris Hegarty
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: