jdk/src/share/classes/java/awt/SystemColor.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
--- a/jdk/src/share/classes/java/awt/SystemColor.java	Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/share/classes/java/awt/SystemColor.java	Thu Jun 07 18:05:09 2012 -0700
@@ -26,6 +26,8 @@
 
 import java.io.ObjectStreamException;
 
+import javax.tools.annotation.GenerateNativeHeader;
+
 /**
  * A class to encapsulate symbolic colors representing the color of
  * native GUI objects on a system.  For systems which support the dynamic
@@ -47,6 +49,8 @@
  * @author      Carl Quinn
  * @author      Amy Fowler
  */
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
 public final class SystemColor extends Color implements java.io.Serializable {
 
    /**