JDK-6282138 : README and other docs files are missing from demo/sample directories with RPM install
  • Type: Bug
  • Component: client-libs
  • Sub-Component: demo
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,linux_redhat_3.0
  • CPU: x86
  • Submitted: 2005-06-08
  • Updated: 2010-08-17
  • Resolved: 2005-06-22
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 Availability Release.

To download the current JDK release, click here.
JDK 6
6 b42Fixed
Related Reports
Relates :  
Description
***********************************************************
This bug has been found to effect more than just Font2DTest
***********************************************************

Target platform: RHEL AS 4.0 u1 beta with an RPM package
       build: J2SE 6.0-build 39

Problem:
This is a regression only on RHEL AS4 with the RPM package (it works fine on Windows 2000 Pro with b39). It works fine in J2SE 6.0 build 38 on both RHEL AS4 and Window 2000 Pro.

Steps to reproduce:
a) Install JDK 6.0 build 39 with the RPM package onto the system test
b) Install Mozilla 1.7 (mozilla-i686-pc-linux-gnu-1.7-installer.tar) and start Mozilla (/usr/local/mozilla/mozilla)
c) Type the following URL on the Mozilla browser:
file:///usr/java/jdk1.6.0/demo/jfc/Font2DTest/Font2DTest.html

d) At the paragraph that contains  "Detailed information about the program can be found in README.txt", please click on the "README.txt"

e) Repeat step c) for the URL below
file:///usr/java/jdk1.6.0/demo/plugin/jfc/Font2DTest/Font2DTest.html

Expect result:
- Display the content of the "README.txt".

Actual result:
- ALERT: The file /usr/java/jdk1.6.0/demo/jfc/Font2DTest/README.txt can not be found. Please check the location and try again.

###@###.### 2005-06-08 03:12:16 GMT

This bug title has been changed from:
    Error Message thrown for /usr/java/jdk1.6.0/demo/jfc/Font2DTest/README.txt

This bug actually causes a bunch of files to be missing from the demo and sample subdirectories.  This bug is specific the the RPM install of the JDK.  This regression was introduced by 6211006.

The following files are missing:

/usr/java/jdk1.6.0/demo/jfc/SwingSet2/src/resources/images/ImageClub/COPYRIGHT
/usr/java/jdk1.6.0/demo/jfc/SwingSet2/src/resources/images/Octavo/COPYRIGHT
/usr/java/jdk1.6.0/demo/jfc/SwingSet2/src/resources/images/scrollpane/COPYRIGHT
/usr/java/jdk1.6.0/demo/jfc/SwingSet2/src/resources/images/splitpane/README
/usr/java/jdk1.6.0/demo/jfc/SwingSet2/README.txt
/usr/java/jdk1.6.0/demo/jfc/FileChooserDemo/README.txt
/usr/java/jdk1.6.0/demo/jfc/Metalworks/README.txt
/usr/java/jdk1.6.0/demo/jfc/Notepad/README.txt
/usr/java/jdk1.6.0/demo/jfc/Stylepad/README.txt
/usr/java/jdk1.6.0/demo/jfc/SampleTree/README.txt
/usr/java/jdk1.6.0/demo/jfc/SwingApplet/README.txt
/usr/java/jdk1.6.0/demo/jfc/TableExample/README.txt
/usr/java/jdk1.6.0/demo/jfc/Java2D/README.txt
/usr/java/jdk1.6.0/demo/jfc/Font2DTest/README.txt
/usr/java/jdk1.6.0/demo/jfc/CodePointIM/README.html
/usr/java/jdk1.6.0/demo/jfc/CodePointIM/README_ja.html
/usr/java/jdk1.6.0/demo/jfc/CodePointIM/README_zh_CN.html
/usr/java/jdk1.6.0/demo/jvmti/hprof/README.txt
/usr/java/jdk1.6.0/demo/jvmti/java_crw_demo/README.txt
/usr/java/jdk1.6.0/demo/jvmti/agent_util/README.txt
/usr/java/jdk1.6.0/demo/jvmti/versionCheck/README.txt
/usr/java/jdk1.6.0/demo/jvmti/gctest/README.txt
/usr/java/jdk1.6.0/demo/jvmti/heapViewer/README.txt
/usr/java/jdk1.6.0/demo/jvmti/heapTracker/README.txt
/usr/java/jdk1.6.0/demo/jvmti/mtrace/README.txt
/usr/java/jdk1.6.0/demo/jvmti/waiters/README.txt
/usr/java/jdk1.6.0/demo/management/FullThreadDump/README.txt
/usr/java/jdk1.6.0/demo/management/VerboseGC/README.txt
/usr/java/jdk1.6.0/demo/management/MemoryMonitor/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingSet2/src/resources/images/ImageClub/COPYRIGHT
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingSet2/src/resources/images/Octavo/COPYRIGHT
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingSet2/src/resources/images/scrollpane/COPYRIGHT
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingSet2/src/resources/images/splitpane/README
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingSet2/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/FileChooserDemo/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/Metalworks/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/Notepad/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/Stylepad/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/SampleTree/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/SwingApplet/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/TableExample/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/Java2D/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/Font2DTest/README.txt
/usr/java/jdk1.6.0/demo/plugin/jfc/CodePointIM/README.html
/usr/java/jdk1.6.0/demo/plugin/jfc/CodePointIM/README_ja.html
/usr/java/jdk1.6.0/demo/plugin/jfc/CodePointIM/README_zh_CN.html
/usr/java/jdk1.6.0/sample/nio/server/README.txt
/usr/java/jdk1.6.0/sample/jnlp/corba/README
/usr/java/jdk1.6.0/sample/jnlp/jreinstaller/README
/usr/java/jdk1.6.0/sample/jnlp/raf/README
/usr/java/jdk1.6.0/sample/jnlp/servlet/README
/usr/java/jdk1.6.0/sample/jnlp/webpad/war/app/README
/usr/java/jdk1.6.0/sample/jnlp/webpad/README

###@###.### 2005-06-09 21:51:56 GMT

Comments
EVALUATION In the find statement that looks for files in the JDK/JRE the "next" statement is in the wrong place, so docs in the demo/sample directories are being ignored. ###@###.### 2005-06-09 19:21:56 GMT Just so people don't report this bug for every demo/sample application... this bug caused *all* the README* files in the demo and sample directory to be left out of RPM builds since b36. Please do not report this bug for all ###@###.### 2005-06-09 21:51:56 GMT
09-06-2005