# HG changeset patch # User lana # Date 1495126064 0 # Node ID c491c6d36014a6e0a881af7d806a3c7c642cd55c # Parent 30196d168c55524b2b5edd8e4b6b5e09380c7470# Parent 3389bd361d46af8c542b64ae2aaa10b82645255c Merge diff -r 30196d168c55 -r c491c6d36014 common/doc/building.html --- a/common/doc/building.html Thu May 18 14:54:52 2017 +0000 +++ b/common/doc/building.html Thu May 18 16:47:44 2017 +0000 @@ -1,21 +1,23 @@ - - + +
- - - + + +This README file contains build instructions for the OpenJDK. Building the source code for the OpenJDK requires a certain degree of technical expertise.
@@ -149,50 +151,50 @@Package | -Version | +Package | +Version |
---|---|---|---|
developer/solarisstudio-124/backend | -12.4-1.0.6.0 | +developer/solarisstudio-124/backend | +12.4-1.0.6.0 |
developer/solarisstudio-124/c++ | -12.4-1.0.10.0 | +developer/solarisstudio-124/c++ | +12.4-1.0.10.0 |
developer/solarisstudio-124/cc | -12.4-1.0.4.0 | +developer/solarisstudio-124/cc | +12.4-1.0.4.0 |
developer/solarisstudio-124/library/c++-libs | -12.4-1.0.10.0 | +developer/solarisstudio-124/library/c++-libs | +12.4-1.0.10.0 |
developer/solarisstudio-124/library/math-libs | -12.4-1.0.0.1 | +developer/solarisstudio-124/library/math-libs | +12.4-1.0.0.1 |
developer/solarisstudio-124/library/studio-gccrt | -12.4-1.0.0.1 | +developer/solarisstudio-124/library/studio-gccrt | +12.4-1.0.0.1 |
developer/solarisstudio-124/studio-common | -12.4-1.0.0.1 | +developer/solarisstudio-124/studio-common | +12.4-1.0.0.1 |
developer/solarisstudio-124/studio-ja | -12.4-1.0.0.1 | +developer/solarisstudio-124/studio-ja | +12.4-1.0.0.1 |
developer/solarisstudio-124/studio-legal | -12.4-1.0.0.1 | +developer/solarisstudio-124/studio-legal | +12.4-1.0.0.1 |
developer/solarisstudio-124/studio-zhCN | -12.4-1.0.0.1 | +developer/solarisstudio-124/studio-zhCN | +12.4-1.0.0.1 |
Binary Name | -Category | -Package | -Description | +Binary Name | +Category | +Package | +Description |
---|---|---|---|---|---|---|---|
ar.exe | -Devel | -binutils | -The GNU assembler, linker and binary utilities | +ar.exe | +Devel | +binutils | +The GNU assembler, linker and binary utilities |
make.exe | -Devel | -make | -The GNU version of the 'make' utility built for CYGWIN | +make.exe | +Devel | +make | +The GNU version of the 'make' utility built for CYGWIN |
m4.exe | -Interpreters | -m4 | -GNU implementation of the traditional Unix macro processor | +m4.exe | +Interpreters | +m4 | +GNU implementation of the traditional Unix macro processor |
cpio.exe | -Utils | -cpio | -A program to manage archives of files | +cpio.exe | +Utils | +cpio | +A program to manage archives of files |
gawk.exe | -Utils | -awk | -Pattern-directed scanning and processing language | +gawk.exe | +Utils | +awk | +Pattern-directed scanning and processing language |
file.exe | -Utils | -file | -Determines file type using 'magic' numbers | +file.exe | +Utils | +file | +Determines file type using 'magic' numbers |
zip.exe | -Archive | -zip | -Package and compress (archive) files | +zip.exe | +Archive | +zip | +Package and compress (archive) files |
unzip.exe | -Archive | -unzip | -Extract compressed files in a ZIP archive | +unzip.exe | +Archive | +unzip | +Extract compressed files in a ZIP archive |
free.exe | -System | -procps | -Display amount of free and used memory in the system | +free.exe | +System | +procps | +Display amount of free and used memory in the system |
-fPIC
for performance reasons.
To completely disable SELinux:
-$ su root
# system-config-securitylevel
In the window that appears, select the SELinux tab
Disable SELinux
Alternatively, instead of completely disabling it you could disable just this one check.
-Base OS and Architecture | -OS | -C/C++ Compiler | -Processors | -RAM Minimum | -DISK Needs | +Base OS and Architecture | +OS | +C/C++ Compiler | +Processors | +RAM Minimum | +DISK Needs |
---|---|---|---|---|---|---|---|---|---|---|---|
Linux X86 (32-bit) and X64 (64-bit) | -Oracle Enterprise Linux 6.4 | -gcc 4.9.2 | -2 or more | -1 GB | -6 GB | +Linux X86 (32-bit) and X64 (64-bit) | +Oracle Enterprise Linux 6.4 | +gcc 4.9.2 | +2 or more | +1 GB | +6 GB |
Solaris SPARCV9 (64-bit) | -Solaris 11 Update 1 | -Studio 12 Update 4 + patches | -4 or more | -4 GB | -8 GB | +Solaris SPARCV9 (64-bit) | +Solaris 11 Update 1 | +Studio 12 Update 4 + patches | +4 or more | +4 GB | +8 GB |
Solaris X64 (64-bit) | -Solaris 11 Update 1 | -Studio 12 Update 4 + patches | -4 or more | -4 GB | -8 GB | +Solaris X64 (64-bit) | +Solaris 11 Update 1 | +Studio 12 Update 4 + patches | +4 or more | +4 GB | +8 GB |
Windows X86 (32-bit) | -Windows Server 2012 R2 x64 | -Microsoft Visual Studio C++ 2013 Professional Edition | -2 or more | -2 GB | -6 GB | +Windows X86 (32-bit) | +Windows Server 2012 R2 x64 | +Microsoft Visual Studio C++ 2013 Professional Edition | +2 or more | +2 GB | +6 GB |
Windows X64 (64-bit) | -Windows Server 2012 R2 x64 | -Microsoft Visual Studio C++ 2013 Professional Edition | -2 or more | -2 GB | -6 GB | +Windows X64 (64-bit) | +Windows Server 2012 R2 x64 | +Microsoft Visual Studio C++ 2013 Professional Edition | +2 or more | +2 GB | +6 GB |
Mac OS X X64 (64-bit) | -Mac OS X 10.9 "Mavericks" | -Xcode 6.3 or newer | -2 or more | -4 GB | -6 GB | +Mac OS X X64 (64-bit) | +Mac OS X 10.9 "Mavericks" | +Xcode 6.3 or newer | +2 or more | +4 GB | +6 GB |
This new way of running tests is developer-centric. It assumes that you have built a jdk locally and want to test it. Running common test targets is simple, and more complex ad-hoc combination of tests is possible. The user interface is forgiving, and clearly report errors it cannot resolve.
Some example command-lines:
diff -r 30196d168c55 -r c491c6d36014 make/CompileJavaModules.gmk --- a/make/CompileJavaModules.gmk Thu May 18 14:54:52 2017 +0000 +++ b/make/CompileJavaModules.gmk Thu May 18 16:47:44 2017 +0000 @@ -42,7 +42,8 @@ ################################################################################ -java.base_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*' -XDstringConcat=inline +java.base_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*' -XDstringConcat=inline \ + --doclint-format html4 java.base_COPY := .icu .dat .spp content-types.properties hijrah-config-islamic-umalqura.properties java.base_CLEAN := intrinsic.properties @@ -95,7 +96,8 @@ ################################################################################ java.desktop_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference \ - '-Xdoclint/package:java.*,javax.*' -Xlint:exports + '-Xdoclint/package:java.*,javax.*' -Xlint:exports \ + --doclint-format html4 java.desktop_COPY := .gif .png .wav .txt .xml .css .pf java.desktop_CLEAN := iio-plugin.properties cursors.properties diff -r 30196d168c55 -r c491c6d36014 make/Docs.gmk --- a/make/Docs.gmk Thu May 18 14:54:52 2017 +0000 +++ b/make/Docs.gmk Thu May 18 16:47:44 2017 +0000 @@ -163,7 +163,7 @@ ################################################################################ -JDK_DOCS_INDEX_HTML_TITLE := Java™ Platform, Standard Edition Development Kit \ +JDK_INDEX_TITLE := Java™ Platform, Standard Edition Development Kit \ (JDK™) $(VERSION_SPECIFICATION) Specification