On Tue, 31 Mar 2026 22:33:34 GMT, Justin Lu <[email protected]> wrote:

> This PR removes resource files for locales that are no longer supported. This 
> updates localizable resource files so that they may only be one of the 
> supported locales: en, de, ja, or zh_CN. The non-supported locales are 
> filtered out during build time and over time these resources are increasingly 
> becoming out of sync, so removing them serves as cleanup.
> 
> Only resource files that are found in the tbom are included in this change. 
> For example, resources such as those under 
> src/jdk.localedata/share/classes/sun/text/resources, data files from the 
> CLDR, 
> src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter.java,
>  
> src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/res/XResources.java
>  are excluded from this change.
> 
> Below are the resources affected:
> 
>   - src/java.base/share/classes/sun/launcher/resources
>   - src/java.base/share/classes/sun/security/tools/keytool/resources
>   - src/java.base/share/classes/sun/security/util/resources
>   - src/java.desktop/macosx/classes/com/apple/laf/resources
>   - src/java.desktop/share/classes/com/sun/accessibility/internal/resources
>   - src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/resources
>   - src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/resources
>   - src/java.desktop/share/classes/com/sun/swing/internal/plaf/basic/resources
>   - src/java.desktop/share/classes/com/sun/swing/internal/plaf/metal/resources
>   - src/java.desktop/share/classes/com/sun/swing/internal/plaf/synth/resources
>   - src/java.desktop/share/classes/sun/awt/resources
>   - src/java.desktop/share/classes/sun/print/resources
>   - src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/resources
>   - src/java.desktop/windows/classes/sun/awt/windows
>   - src/java.logging/share/classes/sun/util/logging/resources
>   - src/java.rmi/share/classes/sun/rmi/registry/resources
>   - src/java.sql.rowset/share/classes/com/sun/rowset
>   - src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res
>   - 
> src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util
>   - src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/runtime
>   - src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg
>   - 
> src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xpath/regex
>   - src/java.xml/share/classes/com/sun/org/apache/xml/internal/res
>   - 
> src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils
>   - src/java.xml/share/classes/com/sun/o...

Just some context here. Oracle stopped maintaining these translations a long 
time ago (2018), Oracle JDK builds exclude them. The expectation at the time 
was that other JDK builds that included these translations would maintain them. 
Sadly, these hasn't really happened so this PR is just removing the 
unmaintained translation files.

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

PR Comment: https://git.openjdk.org/jdk/pull/30524#issuecomment-4168016589

Reply via email to