JDK 9 RFR of 8160831: GioFileTypeDetector always calls deprecated g_type_init
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Jul 11 21:26:08 UTC 2016
On Jul 11, 2016, at 2:24 PM, Alan Bateman <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/
>>
>> 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.
> I can't quite tell this from the bug. In any case I wonder if it's time to just remove this file type detector.
Perhaps, but it might nevertheless not be a bad idea to correct this first.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160711/44eead54/attachment.html>
More information about the nio-dev
mailing list