--- a/jdk/src/share/classes/java/awt/TextComponent.java Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/share/classes/java/awt/TextComponent.java Thu Jun 07 18:05:09 2012 -0700
@@ -35,7 +35,7 @@
import javax.swing.text.AttributeSet;
import javax.accessibility.*;
import java.awt.im.InputMethodRequests;
-
+import javax.tools.annotation.GenerateNativeHeader;
/**
* The <code>TextComponent</code> class is the superclass of
@@ -57,6 +57,8 @@
* @author Arthur van Hoff
* @since JDK1.0
*/
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
public class TextComponent extends Component implements Accessible {
/**