git: openjdk/jdk: 8322218: Better escaping of single and double quotes in annotation toString() results

Joe Darcy darcy at openjdk.org
Tue Feb 6 23:23:28 UTC 2024


Changeset: 1797efd6
Author:    Joe Darcy <darcy at openjdk.org>
Date:      2024-02-06 23:22:46 +0000
URL:       https://git.openjdk.org/jdk/commit/1797efd68d4f30cc38a96fc5902999ee504e182f

8322218: Better escaping of single and double quotes in annotation toString() results

Reviewed-by: mchung

! src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java
! test/jdk/java/lang/annotation/AnnotationToStringTest.java



More information about the jdk-changes mailing list