United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8001228 7u8 jdk rpm bundles contain demo and sample
JDK-8001228 : 7u8 jdk rpm bundles contain demo and sample

Details
Type:
Backport
Submit Date:
2012-10-22
Status:
Closed
Updated Date:
2013-01-29
Project Name:
JDK
Resolved Date:
2012-11-02
Component:
install
OS:
Sub-Component:
install
CPU:
Priority:
P1
Resolution:
Fixed
Affected Versions:
7u8
Fixed Versions:
7u10 (b15)

Related Reports
Backport:

Sub Tasks

Description
jdk7u8 contains demo and sample code.

rpm -qlp jdk-7u8-fcs-bin-b10-linux-i586-07_sep_2012.rpm | egrep "demo$"

/usr/java/jdk1.7.0_08/demo
/usr/java/jdk1.7.0_08/demo/db/programs/nserverdemo


rpm -qlp jdk-7u8-fcs-bin-b10-linux-i586-07_sep_2012.rpm | egrep "sample$"
/usr/java/jdk1.7.0_08/sample
/usr/java/jdk1.7.0_08/sample/jnlp/jreinstaller/src/share/classes/jnlp/sample
/usr/java/jdk1.7.0_08/sample/jnlp/servlet/src/classes/jnlp/sample
/usr/java/jdk1.7.0_08/sample/scripting/scriptpad/src/com/sun/sample

                                    

Comments
This fix is in jdk7u//jdk7u. which is for jdk 7u12 release.  It needs to be back ported
to jdk7u/jdk7u10 and jdk7u/jdk7u11 forest for release 7u10 and 7u11.

Currently 7u10 and 7u11 do not have this fix and causes the jtreg test to fail in 
checking the demo/samples in rpm, in turn causes the build to fail in hudson.

Not only jdk 7u10 and jdk 7u11 master builds are failing on this, all the pre0 7u12
nightly builds are also failing with the same missing fix.

An example of the build failure can be found here,
http://rehudson.us.oracle.com:8080/hudson/view/JDK7/view/7u%20Updates/view/7u10/job/jdk7u10-2-build-linux-i586-product/39/
                                     
2012-10-22
Let me make this bug for backporting the fix to 7u10, and
will create another backport bug for 7u11.
                                     
2012-10-22
Justification of requesting integration of this bug
1. It is a bug by delivering demo/sample in rpm bundle.
2. This bug causes 7u10 and 7u11 builds to fail  because
    - it failed the test of checking  demo/sample in rpm bundle
    - test failure caused build to fail
3. Not only 7u10 and 7u11 production build fail, the client nightly 
    builds are also failing due to this bug.
                                     
2012-10-23
Is it need a regression test here? 
If not please mark the issue with "noreg.." label. 
                                     
2012-10-24
webrev changes for code review at

http://rehudson.us.oracle.com/hudsonws/jdk7u10/8001228-rpm-demo-7u11-7u10/7u10-dev/webrev/
                                     
2012-10-26
Hi, All,

Original bug: https://jbs.oracle.com/bugs/browse/JDK-7198633
7u8 jdk rpm bundles contain demo and sample
it was resolved.

The fix is not in 7u10 and 7u11.  Here are the the backport bugs and
 webrev changes for both:

7u10
bug:    https://jbs.oracle.com/bugs/browse/JDK-8001228
webrev:    http://rehudson.us.oracle.com/hudsonws/jdk7u10/8001228-rpm-demo-7u11-7u10/7u10-dev/webrev/

7u11:
bug:     https://jbs.oracle.com/bugs/browse/JDK-8001604
webrev:  http://rehudson.us.oracle.com/hudsonws/jdk7u10/8001228-rpm-demo-7u11-7u10/7u11-dev/webrev/

The webrev location are also noted in the bugs' comment.
Please help in reviewing the changes.
Thank you!
Amy
                                     
2012-11-01
removing "internal" fixVersion value. fixVersion must only ever contain one value.
                                     
2012-11-01
The fix was committed to jdk7u10-dev repo on 11/01/2012
and is expected in 7u10 b15.
                                     
2012-11-02
No issue in 7u10 b17 linux-i586 and linux-amd64 JDK bundles
                                     
2012-11-28
This has a reg test since installed file manifests are checked as part of automated install testing.
                                     
2013-01-29



Hardware and Software, Engineered to Work Together