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/org/apache/xpath/internal/res
  - src/java.xml/share/classes/javax/xml/catalog
  - src/jdk.jartool/share/classes/sun/tools/jar/resources
  - src/jdk.management.agent/share/classes/jdk/internal/agent/resources

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

Commit messages:
 - init

Changes: https://git.openjdk.org/jdk/pull/30524/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8381436
  Stats: 61065 lines in 272 files changed: 0 ins; 61065 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/30524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30524/head:pull/30524

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

Reply via email to