On Fri, 4 Sep 2026 15:35:38 GMT, Alan Bateman <[email protected]> wrote:

>> Oh the joy of character encodings :)
>> 
>> Yes, this is absolutely a valid issue. Let me experiment a bit with 
>> `Properties.store` to see if I can make it work - otherwise that looks like 
>> a smaller piece of code that is more manageable as a copy/paste for now.
>
> I think it would be useful to add a helper method to take a key and value and 
> return the line for the properties file, then use it in the (currently 3) 
> places that adds to lines. That will centralize the escape handling in one 
> place.

Please check the latest update to see if your comments have been addressed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31884#discussion_r3992302476

Reply via email to