[OpenJDK 2D-Dev] COMPOUND_TEXT charset is missing on JDK11

Philip Race philip.race at oracle.com
Fri Jun 22 14:21:14 UTC 2018

The DnD & clipboard cases on such a desktop are the only possible use I 
can think of
for this charset, so if it were to exist anywhere it would be in the 
desktop module,
since it depends on all the X decoders that were moved there.
But since MToolkit is gone so we don't have direct need for it.
Nor does OpenJDK support an environment with a CDE/Motif desktop any more,
that ended with the end of Solaris 10 support on JDK 8.
So are not likely to be asked to paste compound text from the x clipboard ..
Therefore this would need careful consideration, as we would never use 
it, and have no way to test it
and it quite likely needs some work to run on JDK 11. Not just dump + hope.
It may be better to remain in a port that needs it and can test it.


On 6/22/18, 4:13 AM, Ichiroh Takiguchi wrote:
> Thanks Alan.
> Now we can use OpenJDK JDK11 GUI feature on IBM AIX's CJK locales.
> And AIX's desktop is still CDE/Motif...
> We may need COMPOUND_TEXT charset for clipboard and DnD feature 
> against CDE/Motif.
> To 2d-dev:
> Could you reconsider about COMPOUND_TEXT charset ?
> Thanks,
> Ichiroh Takiguchi
> IBM Japan, Ltd.
> On 2018-06-22 16:14, Alan Bateman wrote:
>> On 22/06/2018 06:47, Ichiroh Takiguchi wrote:
>>> Hello.
>>> JDK8 Linux build has COMPOUND_TEXT charset, but it seems it's 
>>> missing on JDK11 Linux build.
>>> I checked Bug DB, I could not find out the reason why COMPOUND_TEXT 
>>> charset was missing.
>> This was removed more than 3 years ago during JDK 9 development as
>> part of separating the desktop area into its own module. It was
>> removed, along with X11 charsets as part of JDK-8035302. Much of the
>> need for these charsets was legacy at that point, esp. with Motif
>> going away. Is the context for your question something in the font or
>> postscript printing areas? This may be something that needs to be
>> brought up on 2d-dev.
>> -Alan

More information about the 2d-dev mailing list