United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6914986 Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION
JDK-6914986 : Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION

Details
Type:
Bug
Submit Date:
2010-01-07
Status:
Resolved
Updated Date:
2014-03-03
Project Name:
JDK
Resolved Date:
2010-01-25
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
When building the openjdk it is sometimes necessary to have the update version string, but the variable JDK_UPDATE_VERSION typically turns off doc generation which is not wanted. Openjdk builds needs docs and update version strings.

--- old/make/Defs-internal.gmk	2009-12-23 18:25:50.019266555 +0000
+++ new/make/Defs-internal.gmk	2009-12-23 18:25:49.958875627 +0000
@@ -231,9 +231,11 @@
 ifndef NO_DOCS
   # Default value (we want javadoc run)
   GENERATE_DOCS=true
-  # No DOCS build when JDK_UPDATE_VERSION set
-  ifdef JDK_UPDATE_VERSION
-    GENERATE_DOCS=false
+  # No DOCS build when JDK_UPDATE_VERSION set on non-OPENJDK builds
+  ifndef OPENJDK
+    ifdef JDK_UPDATE_VERSION
+      GENERATE_DOCS=false
+    endif
   endif
   # If langtools, corba, jaxp, and jaxws are not being built, 
   #   a full jdk javadoc is not possible

                                    

Comments
EVALUATION

See description
                                     
2010-01-07
EVALUATION

http://hg.openjdk.java.net/jdk7/build/rev/432cbbdc44bc
                                     
2010-01-07



Hardware and Software, Engineered to Work Together