[jdk8u-dev] RFR: 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files [v4]

Andrew John Hughes andrew at openjdk.org
Fri Dec 6 20:26:46 UTC 2024


On Wed, 4 Dec 2024 17:37:50 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:

> @alexeybakhtin , thanks for considering the suggested changes.
> 
> Looks like `jar_pt_BR.properties` was missed, if we really want to update all `jar...properties`. Changes to `jar...properties` make me think that the new option will not be documented for languages other than English. Would be very tricky to do the translation for all languages and perhaps is acceptable not to do it, as it has not been done for JDK main line either. While the spirit in 8u was different, it's not unreasonable for developer tools to be in English only. I'd suggest to update `jar_pt_BR.properties` and leave it there. The reader will probably fall back to English for an explanation of the (undocumented) `k`. If people really want to do the translation, I can contribute Spanish and Portuguese.
> 
> What do you think?

They do tend to get documented, but in separate updates from the i18n team. The last one is [JDK-8337054](https://github.com/openjdk/jdk/commit/e68df528f80cff3a5564a12b7ec71a920800ce28) for JDK 23. I suspect we'll get another mass update for 24 when it is released, which will include these.

There is an issue with backport releases that we don't get these updates when Oracle cede ownership of them. The last one for 8u is [8214357](https://github.com/openjdk/jdk8u/commit/419ea432e817aabdd064665af594c018135a508d). We likely need to do a check for where the base properties file has keys that the translations do not, but content changes to existing keys will be harder to spot.

Contributing translations for this to trunk might be a good way to open conversation on this, if you have the time.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/608#issuecomment-2524091668


More information about the jdk8u-dev mailing list