support for GCC4.0's fvisibility option in JNIEXPORT macro

Jan Nijtmans nijtmans@users.sourceforge.net
Fri May 4 21:03:00 GMT 2007


More than one month passed by without any comment in the mailing
list. Does that mean that the idea is approved?

Regards,
        Jan Nijtmans

30 Mar 2007 13:40:27 -0600, Tom Tromey <tromey@redhat.com>:
> Jan> 2007-??-??  Jan Nijtmans  <nijtmans@users.sourceforge.net>
> Jan>    * jni_md.h: Add the possibility to compile jni code with.
> Jan>    -fvisibility=hidden. This causes all symbols to be hidden
> Jan>    except the JNI functions which need to be exported.
>
> FWIW this seems like a reasonable idea to me.
> I couldn't think of anything this would break.
> Any other comments?  Otherwise I will put it in.
>
> Tom



More information about the Java-patches mailing list