--- old/src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.h 2018-03-23 14:24:36.045157884 +0100 +++ new/src/java.desktop/share/native/libawt/java2d/loops/ProcessPath.h 2018-03-23 14:24:35.809157886 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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 @@ -92,18 +92,20 @@ } ProcessHandler; -jboolean doDrawPath(DrawHandler* hnd, - void (*pProcessEndSubPath)(ProcessHandler* hnd), - jint transX, jint transY, - jfloat* coords, jint maxCoords, - jbyte* types, jint numTypes, - PHStroke stroke); - -jboolean doFillPath(DrawHandler* hnd, - jint transX, jint transY, - jfloat* coords, jint maxCoords, - jbyte* types, jint numTypes, - PHStroke stroke, - jint fillRule); +JNIEXPORT jboolean JNICALL +doDrawPath(DrawHandler* hnd, + void (*pProcessEndSubPath)(ProcessHandler* hnd), + jint transX, jint transY, + jfloat* coords, jint maxCoords, + jbyte* types, jint numTypes, + PHStroke stroke); + +JNIEXPORT jboolean JNICALL +doFillPath(DrawHandler* hnd, + jint transX, jint transY, + jfloat* coords, jint maxCoords, + jbyte* types, jint numTypes, + PHStroke stroke, + jint fillRule); #endif