JDK 9 RFR of 8160831: GioFileTypeDetector always calls deprecated g_type_init
Alan Bateman
Alan.Bateman at oracle.com
Mon Jul 11 21:39:46 UTC 2016
On 11/07/2016 22:26, Brian Burkhalter wrote:
>
> On Jul 11, 2016, at 2:24 PM, Alan Bateman <Alan.Bateman at oracle.com
> <mailto:Alan.Bateman at oracle.com>> wrote:
>
>> On 11/07/2016 21:30, Brian Burkhalter wrote:
>>
>>> Please review at your convenience.
>>>
>>> Issue:https://bugs.openjdk.java.net/browse/JDK-8160831
>>> Patch:http://cr.openjdk.java.net/~bpb/8160831/webrev.00/
>>> <http://cr.openjdk.java.net/%7Ebpb/8160831/webrev.00/>
>>>
>>> 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.
>
Okay, thanks for checking.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160711/a730cc80/attachment.html>
More information about the nio-dev
mailing list