<Swing Dev> Review Request of 8148555: [macosx] An uncaught exception was raised entering Emoji into JTextArea

Avik Niyogi avik.niyogi at oracle.com
Tue Mar 8 16:09:58 UTC 2016


Hi All,

Kindly review the bug fix for JDK 9.

Bug:

https://bugs.openjdk.java.net/browse/JDK-8148555 <https://bugs.openjdk.java.net/browse/JDK-8148555>

Webrev:

http://cr.openjdk.java.net/~aniyogi/8148555/webrev.00/ <http://cr.openjdk.java.net/~aniyogi/8148555/webrev.00/>

Issue:
Emoji selection in Character Viewer was causing exception in JNI

Cause:
Emojis are considered to be of different class type (namely, NSConcreteMutableAttributedString) from NSString which other characters are because of a surrogate pair for them.

Fix:
Major changes done for condition of emojis in JNI. Albeit rendering is not yet supported, they will appear as blank “Missing font” notation.
Also, added debug point in case of issue with glyph arrises.

With Regards,
Avik Niyogi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160308/5f6c8671/attachment.html>


More information about the swing-dev mailing list