RFR: 8219203: Use StringBuilder instead of StringBuffer in com.sun.jndi.dns.ResourceRecord

Alan Bateman alanb at openjdk.org
Tue Feb 10 13:53:37 UTC 2026


On Tue, 10 Feb 2026 11:39:07 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which replaces the usage of `StringBuffer` with `StringBuilder` in the methods of `com.sun.jndi.dns.ResourceRecord`? This addresses https://bugs.openjdk.org/browse/JDK-8219203.
> 
> Given the nature of the change, no new tests have been introduced.

Looks safe.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29652#pullrequestreview-3779095259


More information about the core-libs-dev mailing list