Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8035302

Eliminate dependency on jdk.charsets from 2D font code.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b65
    • Verification:
      Not verified

      Backports

        Description

        This bug concerns these dependencies:

        sun.awt.FontDescriptor -> sun.nio.cs.HistoricallyNamedCharset (java.base)
        sun.awt.HKSCS -> sun.nio.cs.ext.MS950_HKSCS_XP (sun.charsets)
        sun.awt.motif.X11CNS11643$Decoder -> sun.nio.cs.ext.EUC_TW (sun.charsets)
        sun.awt.motif.X11CNS11643$Decoder -> sun.nio.cs.ext.EUC_TW$Decoder (sun.charsets)
        sun.awt.motif.X11CNS11643$Encoder -> sun.nio.cs.ext.EUC_TW (sun.charsets)
        sun.awt.motif.X11CNS11643$Encoder -> sun.nio.cs.ext.EUC_TW$Encoder (sun.charsets)
        sun.awt.motif.X11GB18030_0$Encoder -> sun.nio.cs.ext.DoubleByteEncoder (sun.charsets)
        sun.awt.motif.X11GB18030_1$Encoder -> sun.nio.cs.ext.DoubleByteEncoder (sun.charsets)
        sun.awt.motif.X11GB2312$Decoder -> sun.nio.cs.CharsetMapping (java.base)
        sun.awt.motif.X11GB2312$Decoder -> sun.nio.cs.ext.DoubleByte (sun.charsets)
        sun.awt.motif.X11GB2312$Decoder -> sun.nio.cs.ext.DoubleByte$Decoder (sun.charsets)
        sun.awt.motif.X11GB2312$Decoder -> sun.nio.cs.ext.EUC_CN (sun.charsets)
        sun.awt.motif.X11GB2312$Encoder -> sun.nio.cs.ext.DoubleByte (sun.charsets)
        sun.awt.motif.X11GB2312$Encoder -> sun.nio.cs.ext.DoubleByte$Encoder (sun.charsets)
        sun.awt.motif.X11GB2312$Encoder -> sun.nio.cs.ext.EUC_CN (sun.charsets)
        sun.awt.motif.X11GBK -> sun.nio.cs.ext.GBK (sun.charsets)
        sun.awt.motif.X11GBK$Encoder -> sun.nio.cs.CharsetMapping (java.base)
        sun.awt.motif.X11GBK$Encoder -> sun.nio.cs.ext.DoubleByte (sun.charsets)
        sun.awt.motif.X11GBK$Encoder -> sun.nio.cs.ext.DoubleByte$Encoder (sun.charsets)
        sun.awt.motif.X11GBK$Encoder -> sun.nio.cs.ext.GBK (sun.charsets)
        sun.awt.motif.X11JIS0201 -> sun.nio.cs.SingleByte (java.base)
        sun.awt.motif.X11JIS0201 -> sun.nio.cs.SingleByte$Encoder (java.base)
        sun.awt.motif.X11JIS0201 -> sun.nio.cs.ext.JIS_X_0201 (sun.charsets)
        sun.awt.motif.X11JIS0201$Encoder -> sun.nio.cs.CharsetMapping (java.base)
        sun.awt.motif.X11JIS0201$Encoder -> sun.nio.cs.SingleByte (java.base)
        sun.awt.motif.X11JIS0201$Encoder -> sun.nio.cs.SingleByte$Encoder (java.base)
        sun.awt.motif.X11JIS0201$Encoder -> sun.nio.cs.Surrogate (java.base)
        sun.awt.motif.X11JIS0201$Encoder -> sun.nio.cs.Surrogate$Parser (java.base)
        sun.awt.motif.X11JIS0208 -> sun.nio.cs.ext.JIS_X_0208 (sun.charsets)
        sun.awt.motif.X11JIS0212 -> sun.nio.cs.ext.JIS_X_0212 (sun.charsets)
        sun.awt.motif.X11Johab$Encoder -> sun.nio.cs.ext.DoubleByteEncoder (sun.charsets)
        sun.awt.motif.X11KSC5601$Decoder -> sun.nio.cs.CharsetMapping (java.base)
        sun.awt.motif.X11KSC5601$Decoder -> sun.nio.cs.ext.DoubleByte (sun.charsets)
        sun.awt.motif.X11KSC5601$Decoder -> sun.nio.cs.ext.DoubleByte$Decoder (sun.charsets)
        sun.awt.motif.X11KSC5601$Decoder -> sun.nio.cs.ext.EUC_KR (sun.charsets)
        sun.awt.motif.X11KSC5601$Encoder -> sun.nio.cs.ext.DoubleByte (sun.charsets)
        sun.awt.motif.X11KSC5601$Encoder -> sun.nio.cs.ext.DoubleByte$Encoder (sun.charsets)
        sun.awt.motif.X11KSC5601$Encoder -> sun.nio.cs.ext.EUC_KR (sun.charsets)
        sun.awt.motif.X11SunUnicode_0$Encoder -> sun.nio.cs.ext.DoubleByteEncoder (sun.charsets)

        In our JDK modularization effort then AWT is in a desktop module and it is highly undesirable to have it reaching into the internals of the charset implementation to access specific charsets.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                prr Philip Race
                Reporter:
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: