changeset 11043:ca32fdb7f066

8209791: OpenJFX build fails in PrismPrint.c due to missing JNICALL Reviewed-by: kcr, prr, arapte Contributed-by: priyanka.mangal@oracle.com
author arapte
date Tue, 28 Aug 2018 23:59:17 +0530
parents 671146b1881a
children 12c560434da0
files modules/javafx.graphics/src/main/native-prism/PrismPrint.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.graphics/src/main/native-prism/PrismPrint.c	Mon Aug 27 07:24:18 2018 -0700
+++ b/modules/javafx.graphics/src/main/native-prism/PrismPrint.c	Tue Aug 28 23:59:17 2018 +0530
@@ -31,7 +31,7 @@
  * Method: getAlwaysOnTop
  * Signature (Ljava/lang/Class;J)Ljavax.print.attribute.standard.DialogOwner;
  */
-JNIEXPORT jobject
+JNIEXPORT jobject JNICALL
 Java_com_sun_prism_j2d_print_J2DPrinterJob_getAlwaysOnTop(
  JNIEnv *env, jclass cls, jclass ownerClass, jlong id) {