ostream::print_cr() truncates buffer in copy-through case

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: hotspot
    • b26

      ostream::print("%s", xxx) will not truncate for a longish xxx

      ostream::print_cr("%s", xxx) does truncate a longish xxx to the (rather small) O_BUFLEN

      This is not necessary and slightly confusing, since this could be done equally well with print() followed by cr() , which would not truncate.

            Assignee:
            David Holmes
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: