mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-28 11:10:26 +00:00
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:
parent
c1cd222df9
commit
6dbdc160b4
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user