SCTP build failure on Ubuntu 13.10

Weijun Wang weijun.wang at oracle.com
Fri Oct 18 08:48:00 UTC 2013


Just installed Ubuntu 13.10 and see this build failure

/space/repos/jdk8/tl/jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c: 
In function 'Java_sun_nio_ch_sctp_SctpChannelImpl_initIDs':
/space/repos/jdk8/tl/jdk/src/solaris/native/sun/nio/ch/sctp/SctpChannelImpl.c:86:24: 
error: unused parameter 'klass' [-Werror=unused-parameter]
    (JNIEnv *env, jclass klass) {
                         ^
Google returns an old mail talking about it at

   http://mail.openjdk.java.net/pipermail/build-dev/2013-July/009513.html

Applying the patch in that mail solves the problem. It's also gcc 4.8.1 
here. Does gcc have something like @SuppressWarnings?

Thanks
Max



More information about the build-dev mailing list