[jdk17u-dev] RFR: 8271456: Avoid looking up standard charsets in "java.desktop" module

Goetz Lindenmaier goetz at openjdk.org
Tue Sep 3 12:31:36 UTC 2024


I backport this for parity with 17.0.14-oracle.

I backport this share/classes/javax/swing/text/html/HTMLEditorKit.java
Resolved imports. It did not apply because 17 imports SwingAccessor.

src/java.desktop/share/classes/javax/swing/text/rtf/RTFReader.java
Also resolved imports.

src/java.desktop/unix/classes/sun/font/FcFontConfiguration.java
Copyright

To make it compile, I added imports of java.util Classes to RTFReader.java.

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

Commit messages:
 - Resolve and fix build
 - Backport 6b55ef3b58ae405c46f440e06b5adb03cec3a500

Changes: https://git.openjdk.org/jdk17u-dev/pull/2844/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2844&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8271456
  Stats: 762 lines in 33 files changed: 339 ins; 269 del; 154 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2844.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2844/head:pull/2844

PR: https://git.openjdk.org/jdk17u-dev/pull/2844


More information about the jdk-updates-dev mailing list