--- old/src/java.base/unix/native/libnio/ch/nio_util.h 2018-03-28 12:27:47.274049043 +0200 +++ new/src/java.base/unix/native/libnio/ch/nio_util.h 2018-03-28 12:27:47.038049045 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2018, 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 @@ -62,4 +62,5 @@ /* Defined in Net.c */ -jint handleSocketError(JNIEnv *env, jint errorValue); +JNIEXPORT jint JNICALL +handleSocketError(JNIEnv *env, jint errorValue);