Integrated: JDK-8325078: Better escaping of single and double quotes in javac annotation toString() results
Joe Darcy
darcy at openjdk.org
Thu Feb 1 20:23:05 UTC 2024
On Thu, 1 Feb 2024 02:40:29 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> The javac version of https://github.com/openjdk/jdk/pull/17664
>
> "A double quote character doesn't need to be escaped when it is a char literal and single quote character doesn't need to be escaped when it is in a string. This change updates the toString() output of annotations to account for the different escaping requirements of strings and characters."
This pull request has now been integrated.
Changeset: 144a08ee
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/144a08ee5092980859379c7664c8036eec1e264d
Stats: 21 lines in 4 files changed: 6 ins; 0 del; 15 mod
8325078: Better escaping of single and double quotes in javac annotation toString() results
Reviewed-by: jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/17665
More information about the compiler-dev
mailing list