JDK 9 RFR of 8160831: GioFileTypeDetector always calls deprecated g_type_init

Brian Burkhalter brian.burkhalter at oracle.com
Mon Jul 11 21:27:03 UTC 2016


On Jul 11, 2016, at 2:26 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

>>> Verify that g_type_init is non-null before dereferencing it.
>>> 
>> Is there an alternative init function to use when g_type_init is not present?
> 
> No. The GLib documentation states that from 2.36 onward the type initialization is automatic. [1]

[1] https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#g-type-init

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160711/10518d6c/attachment.html>


More information about the nio-dev mailing list