changeset 13165:679567fae315

7181508: Remove GenerateNativeHeader on awt java file Reviewed-by: ohair
author erikj
date Tue, 03 Jul 2012 11:45:34 -0700
parents 9b19b2302c28
children 8470c1078142
files jdk/src/share/classes/java/awt/image/DirectColorModel.java jdk/src/share/classes/sun/awt/CharsetString.java jdk/src/share/classes/sun/java2d/pipe/RegionIterator.java jdk/src/share/native/sun/awt/image/cvutils/img_globals.c
diffstat 4 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/java/awt/image/DirectColorModel.java	Wed Jul 05 18:14:56 2017 +0200
+++ b/jdk/src/share/classes/java/awt/image/DirectColorModel.java	Tue Jul 03 11:45:34 2012 -0700
@@ -27,7 +27,6 @@
 
 import java.awt.color.ColorSpace;
 import java.awt.Transparency;
-import javax.tools.annotation.GenerateNativeHeader;
 
 /**
  * The <code>DirectColorModel</code> class is a <code>ColorModel</code>
@@ -107,8 +106,6 @@
  * @see ColorModel#getRGBdefault
  *
  */
-/* No native methods here, but the constants are needed in the supporting JNI code */
-@GenerateNativeHeader
 public class DirectColorModel extends PackedColorModel {
     private int red_mask;
     private int green_mask;
--- a/jdk/src/share/classes/sun/awt/CharsetString.java	Wed Jul 05 18:14:56 2017 +0200
+++ b/jdk/src/share/classes/sun/awt/CharsetString.java	Tue Jul 03 11:45:34 2012 -0700
@@ -24,10 +24,6 @@
  */
 package sun.awt;
 
-import javax.tools.annotation.GenerateNativeHeader;
-
-/* No native methods here, but the constants are needed in the supporting JNI code */
-@GenerateNativeHeader
 public class CharsetString {
     /**
      * chars for this string.  See also offset, length.
--- a/jdk/src/share/classes/sun/java2d/pipe/RegionIterator.java	Wed Jul 05 18:14:56 2017 +0200
+++ b/jdk/src/share/classes/sun/java2d/pipe/RegionIterator.java	Tue Jul 03 11:45:34 2012 -0700
@@ -27,14 +27,10 @@
 
 import java.awt.Rectangle;
 
-import javax.tools.annotation.GenerateNativeHeader;
-
 /**
  * This class defines the API for iterating through the bands
  * of a region object.
  */
-/* No native methods here, but the constants are needed in the supporting JNI code */
-@GenerateNativeHeader
 public class RegionIterator {
     Region region;
     int curIndex;
--- a/jdk/src/share/native/sun/awt/image/cvutils/img_globals.c	Wed Jul 05 18:14:56 2017 +0200
+++ b/jdk/src/share/native/sun/awt/image/cvutils/img_globals.c	Tue Jul 03 11:45:34 2012 -0700
@@ -31,7 +31,6 @@
 #include "img_globals.h"
 
 #include "java_awt_image_IndexColorModel.h"
-#include "java_awt_image_DirectColorModel.h"
 #include "java_awt_Transparency.h"
 
 /*