Integrated: 8298943: Missing escapes for single quote marks in compiler.properties
Archie L. Cobbs
duke at openjdk.org
Mon Dec 19 19:51:55 UTC 2022
On Fri, 16 Dec 2022 15:11:18 GMT, Archie L. Cobbs <duke at openjdk.org> wrote:
> The source file `compiler.properties` contains the English message bundle for compiler warnings, errors, etc.
>
> Since the strings in this file are format strings, any single quotes must be escaped by doubling them.
>
> An example of a properly encoded entry is:
>
>
> compiler.err.cant.assign.val.to.this=\
> cannot assign to ''this''
>
>
> There are three entries that appear to be not escaped when they should be.
This pull request has now been integrated.
Changeset: 40cb431f
Author: Archie L. Cobbs <archie.cobbs at gmail.com>
Committer: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/40cb431fee7c1f193b2f445c397c1444ed2e0015
Stats: 131 lines in 2 files changed: 128 ins; 0 del; 3 mod
8298943: Missing escapes for single quote marks in compiler.properties
Reviewed-by: jjg
-------------
PR: https://git.openjdk.org/jdk/pull/11712
More information about the compiler-dev
mailing list