RFR: 8298943: Missing escapes for single quote marks in compiler.properties [v3]

Archie L. Cobbs duke at openjdk.org
Sat Dec 17 16:52:15 UTC 2022

> 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.

Archie L. Cobbs has updated the pull request incrementally with one additional commit since the last revision:

  Allow quoting of ',' characters.


  - all: https://git.openjdk.org/jdk/pull/11712/files
  - new: https://git.openjdk.org/jdk/pull/11712/files/c01be470..fe523617

 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11712&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11712&range=01-02

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/11712.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11712/head:pull/11712

PR: https://git.openjdk.org/jdk/pull/11712

More information about the compiler-dev mailing list