6888888: new javah throws NullPointerException when building in jdk/make/java/nio
Summary: Use the bootstrap javah during the build until bug-ID 6889255 is fixed
Reviewed-by: jjg
--- a/jdk/make/common/shared/Defs-java.gmk Wed Oct 07 17:23:02 2009 +0100
+++ b/jdk/make/common/shared/Defs-java.gmk Wed Oct 07 13:53:11 2009 -0700
@@ -165,6 +165,11 @@
JAVADOC_CMD = $(JAVA_TOOLS_DIR)/javadoc $(JAVA_TOOLS_FLAGS:%=-J%)
endif
+#always use the bootstrap javah until bug-ID 6889255 is fixed. These
+#five lines should be removed as part of that fix:
+JAVAH_CMD = $(JAVA_TOOLS_DIR)/javah \
+ $(JAVAHFLAGS)
+
# Override of what javac to use (see deploy workspace)
ifdef JAVAC
JAVAC_CMD = $(JAVAC)