8132505: Signature of Java_sun_nio_ch_Net_socket0 should return jint not int

Change return type of Java_sun_nio_ch_Net_socket0 from int to jint

Reviewed-by: alanb
This commit is contained in:
Brian Burkhalter 2015-07-31 07:04:48 -07:00
parent c1cd222df9
commit 6dbdc160b4

View File

@ -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 @@ Java_sun_nio_ch_Net_canJoin6WithIPv4Group0(JNIEnv* env, jclass cl)
#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)
{