8132505: Signature of Java_sun_nio_ch_Net_socket0 should return jint not int
Summary: Change return type of Java_sun_nio_ch_Net_socket0 from int to jint
Reviewed-by: alanb
--- a/jdk/src/java.base/unix/native/libnio/ch/Net.c Fri Jul 31 14:29:25 2015 +0100
+++ b/jdk/src/java.base/unix/native/libnio/ch/Net.c Fri Jul 31 07:04:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -186,7 +186,7 @@
#endif
}
-JNIEXPORT int JNICALL
+JNIEXPORT jint JNICALL
Java_sun_nio_ch_Net_socket0(JNIEnv *env, jclass cl, jboolean preferIPv6,
jboolean stream, jboolean reuse, jboolean ignored)
{