--- a/jdk/src/share/classes/sun/java2d/pipe/BufferedContext.java Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/share/classes/sun/java2d/pipe/BufferedContext.java Thu Jun 07 18:05:09 2012 -0700
@@ -37,6 +37,8 @@
import static sun.java2d.pipe.BufferedOpCodes.*;
import static sun.java2d.pipe.BufferedRenderPipe.BYTES_PER_SPAN;
+import javax.tools.annotation.GenerateNativeHeader;
+
/**
* Base context class for managing state in a single-threaded rendering
* environment. Each state-setting operation (e.g. SET_COLOR) is added to
@@ -47,6 +49,8 @@
*
* @see RenderQueue
*/
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
public abstract class BufferedContext {
/*