JDK-6872177 : JCE framework and provider builds broken following -target 7 changes
Type:Bug
Component:security-libs
Sub-Component:javax.crypto
Affected Version:7
Priority:P2
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2009-08-15
Updated:2014-03-03
Resolved:2009-08-28
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.
The -source 7 -target 7 changes (and to a lesser degret the ECC provider) caused the existing JCE provider build mechanism to change. We must now build the langtools repository in order to get/use a JDK7 compiler to compile the JDK.
Comments
EVALUATION
Add a new switch which stops builds of the source bundles, everything else was already done.
SKIP_BUNDLES_BUILD=true
The repositories required to build are:
., langtools, jdk, jdk/make/closed, jdk/src/closed.
You can create a small forest (faster copying to build machines) or use the whole thing.
An example command line is:
gnumake \
ALT_BOOTDIR=6u14 \
ALT_JDK_IMPORT_PATH=6u14 \
DEV_ONLY=true \
SKIP_FASTDEBUG_BUILD=true \
SKIP_DEBUG_BUILD=true \
SKIP_OPENJDK_BUILD=true \
SKIP_BUNDLES_BUILD=true \
BUILD_CORBA=false \
BUILD_DEPLOY=false \
BUILD_HOTSPOT=false \
BUILD_INSTALL=false \
BUILD_JAXP=false \
BUILD_JAXWS=false \
BUILD_JDK=true \
BUILD_LANGTOOLS=true \
BUILD_SPONSORS=false \
NO_IMAGES=true \
NO_DOCS=true \
INCREMENTAL_BUILD=false \
all