[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    Integrated: 8298943: Missing escapes for single quote marks in compiler.properties
From:       Archie L. Cobbs <duke () openjdk ! org>
Date:       2022-12-19 19:51:55
Message-ID: FJY2bFuOhQrbnmqmC_rdOD5zta3J-3nywwyX_j3X7NQ=.b1b4aa04-26f2-478d-b182-fd81179d310b () github ! com
[Download RAW message or body]

On Fri, 16 Dec 2022 15:11:18 GMT, Archie L. Cobbs <duke@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@gmail.com>
Committer: Jonathan Gibbons <jjg@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic