--- a/jdk/src/share/classes/sun/java2d/SunGraphics2D.java Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/share/classes/sun/java2d/SunGraphics2D.java Thu Jun 07 18:05:09 2012 -0700
@@ -92,6 +92,8 @@
import sun.java2d.DestSurfaceProvider;
import sun.misc.PerformanceLogger;
+import javax.tools.annotation.GenerateNativeHeader;
+
/**
* This is a the master Graphics2D superclass for all of the Sun
* Graphics implementations. This class relies on subclasses to
@@ -101,6 +103,8 @@
*
* @author Jim Graham
*/
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
public final class SunGraphics2D
extends Graphics2D
implements ConstrainableGraphics, Cloneable, DestSurfaceProvider