RFR: 6206780 (str) Forwarding append methods in String{Buffer, Builder} are inconsistent
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 2 17:45:03 UTC 2012
On 02/10/2012 18:20, Vitaly Davidovich wrote:
>
> Jim, how about an assert with Thread.holdsLock() work for tests?
>
A concern is that this could disrupt the inlining. In any case, I think
Jim has figured out how to test this with a blackbox test. If nothing
else, at least this exercise should expand the tests in the jdk repository.
-Alan.
More information about the core-libs-dev
mailing list