JDK 9 RFR of 8160831: GioFileTypeDetector always calls deprecated g_type_init

Alan Bateman Alan.Bateman at oracle.com
Mon Jul 11 21:24:29 UTC 2016


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? 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.

-Alan


More information about the nio-dev mailing list