JDK-6579273 : JVMTI index.html is missing in ${JAVA_HOME}/demo/jvmti and demo/management
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: core-svc
  • Sub-Component: tools
  • Priority: P4
  • Affected Version: 6
  • OS: generic
  • CPU: other
  • Submit Date: 2007-07-11
  • Updated Date: 2010-04-02
  • Resolved Date: 2008-02-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b12Resolved 7Resolved
Related Reports
Duplicate :  
Description
The index.html file for the JVMTI demos is missing from Java 6 releases.

The file contains essential information for using the JVMTI demos, and is still referenced in other files in the Java 6 JVMTI demo tree. For example, the file

   $JAVA_HOME/demo/jvmti/gctest/README.txt

contains the following text:

   "See ${JAVA_HOME}/demo/jvmti/index.html for help running and
    building agents".

The file is present in 5.0 releases, so we presume this is a simple packaging error that needs to be corrected for future Java 6 releases.

Comments
SUGGESTED FIX j2se/make/mkdemo/management/Makefile --- 1.10 --- 6579273: JVMTI index.html is missing in ${JAVA_HOME}/demo/jvmti *** 1,7 **** # ! # @(#)Makefile 1.9 05/11/17 # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # --- 1,7 ---- # ! # @(#)Makefile 1.10 08/01/14 # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # *** 19,28 **** MemoryMonitor \ JTop all build clean clobber:: $(SUBDIRS-loop) ! all build :: $(ABS_OUTPUTDIR)/demo/management $(ABS_OUTPUTDIR)/demo/management/index.html: $(SHARE_SRC)/demo/management/index.html $(install-file) --- 19,28 ---- MemoryMonitor \ JTop all build clean clobber:: $(SUBDIRS-loop) ! all build :: $(ABS_OUTPUTDIR)/demo/management $(ABS_OUTPUTDIR)/demo/management/index.html $(ABS_OUTPUTDIR)/demo/management/index.html: $(SHARE_SRC)/demo/management/index.html $(install-file)
2008-01-15

EVALUATION Also demo/management/index.html file was missing, added that change to this bug too. See suggested fix.
2008-01-15

SUGGESTED FIX ######### File: j2se/make/mkdemo/jvmti/Makefile ------- Makefile ------- *** /tmp/sccs.TjaOby Fri Jan 11 13:07:32 2008 --- Makefile Fri Jan 11 13:00:41 2008 *************** *** 30,36 **** all build clean clobber:: $(SUBDIRS-loop) ! all build :: $(ABS_OUTPUTDIR)/demo/jvmti $(ABS_OUTPUTDIR)/demo/jvmti/index.html: $(SHARE_SRC)/demo/jvmti/index.html $(install-file) --- 30,36 ---- all build clean clobber:: $(SUBDIRS-loop) ! all build :: $(ABS_OUTPUTDIR)/demo/jvmti $(ABS_OUTPUTDIR)/demo/jvmti/index.html $(ABS_OUTPUTDIR)/demo/jvmti/index.html: $(SHARE_SRC)/demo/jvmti/index.html $(install-file)
2008-01-11

EVALUATION The copy of the index file was part of the build rule, when separated as a separate rule the dependency was missed. See suggested fix.
2008-01-11

EVALUATION The file disappeared in 6.0-b28, most probably after the fix for 5070715 when fastdebug builds were introduced. Dispatching this change request to the build team.
2007-07-16

WORK AROUND None.
2007-07-11