From 7aac8e14aa2b6c3310e65cde3e3f9656b3c45dff Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Tue, 9 Jul 2024 02:35:51 +0800 Subject: [PATCH] portconfig: try fix broken pipe --- jdk/src/solaris/native/sun/net/portconfig.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git jdk/src/solaris/native/sun/net/portconfig.c jdk/src/solaris/native/sun/net/portconfig.c index 56730f0f40..30b8a10c6f 100644 --- jdk/src/solaris/native/sun/net/portconfig.c +++ jdk/src/solaris/native/sun/net/portconfig.c @@ -93,9 +93,7 @@ static int getPortRange(struct portrange *range) * Method: getLower0 * Signature: ()I */ -JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0 - (JNIEnv *env, jclass clazz) -{ +JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0 (JNIEnv *env, jclass clazz) { struct portrange range; if (getPortRange(&range) < 0) { return -1; @@ -108,9 +106,7 @@ JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getLower0 * Method: getUpper0 * Signature: ()I */ -JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0 - (JNIEnv *env, jclass clazz) -{ +JNIEXPORT jint JNICALL Java_sun_net_PortConfig_getUpper0 (JNIEnv *env, jclass clazz) { struct portrange range; if (getPortRange(&range) < 0) { return -1;