RFR: 8256828: ostream::print_cr() truncates buffer in copy-through case [v3]
    David Holmes 
    dholmes at openjdk.org
       
    Tue Jun  4 02:09:13 UTC 2024
    
    
  
> Clarifies the behaviour of this function in regards to truncation when adding a CR. Ensures a truncation warning is always issued.
> 
> Adds unit testing for the specialized cases.
> 
> See JBS for discussion of other suggestions.
> 
> Testing: - tiers 1-4
> 
> Thanks
David Holmes has updated the pull request incrementally with one additional commit since the last revision:
  revert constexpr usage
-------------
Changes:
  - all: https://git.openjdk.org/jdk/pull/19512/files
  - new: https://git.openjdk.org/jdk/pull/19512/files/e0b0693a..eeee7f57
Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19512&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19512&range=01-02
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/19512.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19512/head:pull/19512
PR: https://git.openjdk.org/jdk/pull/19512
    
    
More information about the hotspot-dev
mailing list