--- old/src/java.desktop/share/native/libawt/java2d/SurfaceData.h 2018-03-23 14:24:32.461157911 +0100 +++ new/src/java.desktop/share/native/libawt/java2d/SurfaceData.h 2018-03-23 14:24:32.225157912 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 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 @@ -649,7 +649,8 @@ * Subclasses of SurfaceData should call this function instead of allocating * the memory directly. */ -SurfaceDataOps *SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize); +JNIEXPORT SurfaceDataOps * JNICALL +SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize); /* * This function invokes the ops-specific disposal function.