--- a/src/java.desktop/share/native/libawt/java2d/loops/AlphaMath.h Tue Feb 13 10:36:52 2018 +0100
+++ b/src/java.desktop/share/native/libawt/java2d/loops/AlphaMath.h Tue Feb 13 10:37:33 2018 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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
@@ -26,8 +26,10 @@
#ifndef AlphaMath_h_Included
#define AlphaMath_h_Included
+#include "jni.h"
+
extern unsigned char mul8table[256][256];
-extern unsigned char div8table[256][256];
+JNIEXPORT extern unsigned char div8table[256][256];
extern void initAlphaTables();