8029254: Build error when javadoc generates beaninfo for javax.swing.beans
authorerikj
Wed, 08 Jan 2014 13:25:30 +0100
changeset 22347 b33efb12ef2e
parent 22346 a8ed7c365584
child 22348 8e8c84d9535f
8029254: Build error when javadoc generates beaninfo for javax.swing.beans Reviewed-by: alanb, ihse, michaelm
jdk/make/gensrc/GensrcSwing.gmk
--- a/jdk/make/gensrc/GensrcSwing.gmk	Mon Jan 20 20:51:54 2014 +0400
+++ b/jdk/make/gensrc/GensrcSwing.gmk	Wed Jan 08 13:25:30 2014 +0100
@@ -77,7 +77,7 @@
 	$(ECHO) Generating beaninfo
 	$(MKDIR) -p $(JDK_OUTPUTDIR)/gensrc_no_srczip/javax/swing
 	$(JAVA) -Djava.awt.headless=true $(NEW_JAVADOC) \
-	    -sourcepath "$(JDK_TOPDIR)/src/share/classes$(PATH_SEP)$(JDK_OUTPUTDIR)/gensrc" \
+	    -sourcepath "$(JDK_TOPDIR)/src/share/classes$(PATH_SEP)$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes$(PATH_SEP)$(JDK_OUTPUTDIR)/gensrc" \
 	    -doclet build.tools.swingbeaninfo.GenDocletBeanInfo \
 	    -x $(SWINGBEAN_DEBUG_FLAG) -d $(JDK_OUTPUTDIR)/gensrc_no_srczip/javax/swing \
 	    -t $(DOCLET_DATA_DIR)/SwingBeanInfo.template -docletpath $(JDK_OUTPUTDIR)/btclasses \