United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6800318 hotspot HS14 b10 requires BOOTDIR of 1.6.0
JDK-6800318 : hotspot HS14 b10 requires BOOTDIR of 1.6.0

Details
Type:
Bug
Submit Date:
2009-02-02
Status:
Closed
Updated Date:
2010-10-15
Project Name:
JDK
Resolved Date:
2009-05-13
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
6u14
Fixed Versions:
6u14 (b02)

Related Reports

Sub Tasks

Description
Starting with the integration of HS14 b10 into 6u14 b01, the hotspot builds fail with a BOOTDIR of 1.5.0:

gnumake[6]: Entering directory `/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'
echo "Making /BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/sa-jdi.jar"
Making /BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/sa-jdi.jar
if [ "/localtools/linux-i586/jdk1.5.0" = "" ]; then \
  echo "ALT_BOOTDIR, BOOTDIR or JAVA_HOME needs to be defined to build SA"; \
  exit 1; \
fi
if [ ! -f /localtools/linux-i586/jdk1.5.0/lib/tools.jar ] ; then \
  echo "Missing /localtools/linux-i586/jdk1.5.0/lib/tools.jar file. Use 1.6.0 or later version of JDK";\
  echo ""; \
  exit 1; \
fi
if [ ! -d /BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/saclasses ] ; then \
  mkdir -p /BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/saclasses;        \
fi

/localtools/linux-i586/jdk1.5.0/bin/javac -source 1.4 -classpath /localtools/linux-i586/jdk1.5.0/lib/tools.jar -sourcepath /BUILD_AREA/jdk6_14/hotspot/agent/src/share/classes -g -d /BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/saclasses /BUILD_AREA/jdk6_14/hotspot/agent/src/share/classes/sun/jvm/hotspot/CLHSDB.java ............<length list of files omitted>
.
.
.
.
/BUILD_AREA/jdk6_14/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/MethodCallable.java:63: cannot find symbol
symbol  : class ScriptException
location: class sun.jvm.hotspot.utilities.soql.MethodCallable
      throw new ScriptException(exp);
                ^
/BUILD_AREA/jdk6_14/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/InvocableCallable.java:55: cannot find symbol
symbol  : class ScriptException
location: class sun.jvm.hotspot.utilities.soql.InvocableCallable
      throw new ScriptException(nme);
                ^
33 errors
gnumake[6]: *** [/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/../generated/sa-jdi.jar] Error 1
gnumake[6]: Leaving directory `/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'
gnumake[5]: *** [all] Error 2
gnumake[5]: Leaving directory `/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'
gnumake[4]: *** [sa_stuff] Error 2
gnumake[4]: Leaving directory `/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'
gnumake[3]: *** [product] Error 2
gnumake[3]: Leaving directory `/BUILD_AREA/jdk6_14/control/build/linux-i586/hotspot/outputdir'
gnumake[2]: *** [generic_build2] Error 2
gnumake[2]: Leaving directory `/BUILD_AREA/jdk6_14/hotspot/make'
gnumake[1]: *** [product] Error 2
gnumake[1]: Leaving directory `/BUILD_AREA/jdk6_14/hotspot/make'
gnumake: *** [hotspot-build] Error 2
## Linux IA 32-bit local build finished on jdk-lin-i586

                                    

Comments
SUGGESTED FIX

Change the default BOOTDIR of jdk6 to 1.6.0 (from existing 1.5.0)
                                     
2009-02-02
EVALUATION

BOOTDIR will be changed from 1.5.0 to 1.6.0

Sanity checks will need to be updated as well.
                                     
2009-02-05



Hardware and Software, Engineered to Work Together