--- old/src/java.base/unix/native/libnio/ch/nio_util.h 2018-03-23 14:24:22.921157981 +0100 +++ new/src/java.base/unix/native/libnio/ch/nio_util.h 2018-03-23 14:24:22.689157983 +0100 @@ -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);