[jdk16] RFR: 8260927: StringBuilder::insert is incorrect without Compact Strings [v2]

Aleksey Shipilev shade at openjdk.java.net
Tue Feb 2 13:31:59 UTC 2021


On Tue, 2 Feb 2021 13:23:16 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Should we add an explicit run with -CompactStrings to the Insert.java test? That'd have caught this issue sooner - perhaps already by the GA testing.

Yes, I thought about the same. Added and re-checked that it catches the failure. (I also added `-XX:-CompactStrings` jobs to my CI workflows).

-------------

PR: https://git.openjdk.java.net/jdk16/pull/143


More information about the core-libs-dev mailing list