# HG changeset patch # User lana # Date 1294189538 28800 # Node ID 55a18147b4bf9479f8dfd504f29cd58815b777ff # Parent 12cc7f77e459d6e8beaf1de1bee7df49b8a2a277# Parent aa894c225b1a517b665ac2a58295217ea2245134 Merge diff -r 12cc7f77e459 -r 55a18147b4bf .hgtags --- a/.hgtags Tue Jan 04 14:17:45 2011 -0800 +++ b/.hgtags Tue Jan 04 17:05:38 2011 -0800 @@ -97,3 +97,4 @@ 8c840d3ab24f8d0f422b991638acb44b6ab1d98c jdk7-b120 0ce0a2c3a6926677dc507839a820ab6625541e5a jdk7-b121 6f09ea1c034f087916d2a8cf0d22be768400118f jdk7-b122 +142129d8599d1f56b29387e7f9a5fad53b6d61df jdk7-b123 diff -r 12cc7f77e459 -r 55a18147b4bf .hgtags-top-repo --- a/.hgtags-top-repo Tue Jan 04 14:17:45 2011 -0800 +++ b/.hgtags-top-repo Tue Jan 04 17:05:38 2011 -0800 @@ -97,3 +97,4 @@ 366ff0b6d2151595629806b033e2e1497e3a55d4 jdk7-b120 2c2d4f88637b488014c37e1a2eb401f68bca8838 jdk7-b121 f1591eed71f64f6eba79fb7426f5616cc4dfea73 jdk7-b122 +ed6950da30cf1e8904b4bdb034d471647942271f jdk7-b123 diff -r 12cc7f77e459 -r 55a18147b4bf Makefile --- a/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -156,12 +156,6 @@ clobber:: deploy-clobber endif -ifeq ($(BUILD_JDK), true) - ifeq ($(BUNDLE_RULES_AVAILABLE), true) - generic_build_repo_series:: openjdk-binary-plugs-bundles - endif -endif - # The debug build, fastdebug or debug. Needs special handling. # Note that debug builds do NOT do INSTALL steps, but must be done # after the product build and before the INSTALL step of the product build. @@ -301,7 +295,6 @@ ifeq ($(BUILD_JDK), true) ifeq ($(BUNDLE_RULES_AVAILABLE), true) -OPENJDK_PLUGS=$(ABS_OUTPUTDIR)/$(OPENJDK_BINARY_PLUGS_INAME) OPENJDK_OUTPUTDIR=$(ABS_OUTPUTDIR)/open-output OPENJDK_BUILD_NAME \ = openjdk-$(JDK_MINOR_VERSION)-$(BUILD_NUMBER)-$(PLATFORM)-$(ARCH)-$(BUNDLE_DATE) @@ -330,7 +323,6 @@ GENERATE_DOCS=false \ ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \ ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \ - ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \ ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \ ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \ product_build ) @@ -456,7 +448,6 @@ DEVTOOLS_PATH.desc = Directory containing zip and gnumake CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files DXSDK_PATH.desc = Root directory of DirectX SDK -MSDEVTOOLS_PATH.desc = Root directory of VC++ tools (e.g. rc.exe) MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll # Make variables to print out (description and value) @@ -487,12 +478,10 @@ VARIABLE_PRINTVAL_LIST += \ DXSDK_PATH \ - MSDEVTOOLS_PATH \ MSVCRT_DLL_PATH VARIABLE_CHECKDIR_LIST += \ DXSDK_PATH \ - MSDEVTOOLS_PATH \ MSVCRT_DLL_PATH endif @@ -548,7 +537,7 @@ " ################################################################ -# Source and binary plug bundling +# Source bundling ################################################################ ifeq ($(BUNDLE_RULES_AVAILABLE), true) include $(BUNDLE_RULES) diff -r 12cc7f77e459 -r 55a18147b4bf README --- a/README Tue Jan 04 14:17:45 2011 -0800 +++ b/README Tue Jan 04 17:05:38 2011 -0800 @@ -1,28 +1,38 @@ README: - This file should be located at the top of the OpenJDK Mercurial repository - forest. This top or enclosing repository will include a "make" directory, - and a Makefile at the very top of the repository. - It should also include the 6 repositories: "jdk", "hotspot", "langtools", - "corba", "jaxws" and "jaxp". + This file should be located at the top of the OpenJDK Mercurial root + repository. This root repository will include a "make" directory, + and a Makefile for building the entire OpenJDK. + A full OpenJDK repository set (forest) should also include the following + 6 nested repositories: + "jdk", "hotspot", "langtools", "corba", "jaxws" and "jaxp". + There are also several source downloads for the jax* repositories that + will be needed. + + This one root repository can be obtained with something like: + hg clone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7 + To make sure you have all the nested repositories, you can run: + cd openjdk7 && sh ./get_source.sh + (This is identical to using the Mercurial Forest Extension command + 'hg fclone http://hg.openjdk.java.net/jdk7/jdk7 openjdk7'). + People unfamiliar with Mercurial should read the first few chapters of + the Mercurial book: http://hgbook.red-bean.com/read/ See http://openjdk.java.net/ for more information about the OpenJDK. Simple Build Instructions: - - 1. Download and install a JDK 6 from - http://java.sun.com/javase/downloads/index.jsp - Set the environment variable ALT_BOOTDIR to the location of this JDK 6. + + 0. Get the necessary system software/packages installed on your system, see + http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html - 2. Download and install the Binary Plugs for the most recent JDK7 from - http://download.java.net/openjdk/jdk7/ - Set the environment variable ALT_BINARY_PLUGS_PATH to the location of - these binary plugs. - - 3. Check the sanity of doing a build with the current machine: + 1. If you don't have a jdk6 installed, download and install a JDK 6 from + http://java.sun.com/javase/downloads/index.jsp + Set the environment variable ALT_BOOTDIR to the location of JDK 6. + + 2. Check the sanity of doing a build with your current system: gnumake sanity See README-builds.html if you run into problems. - 4. Do a complete build of the jdk: + 3. Do a complete build of the OpenJDK: gnumake all The resulting JDK image should be found in build/*/j2sdk-image diff -r 12cc7f77e459 -r 55a18147b4bf README-builds.html --- a/README-builds.html Tue Jan 04 14:17:45 2011 -0800 +++ b/README-builds.html Tue Jan 04 17:05:38 2011 -0800 @@ -24,12 +24,12 @@

Introduction

- This README file contains build instructions for the - OpenJDK. - Building the source code for the - OpenJDK - requires - a certain degree of technical expertise. + This README file contains build instructions for the + OpenJDK. + Building the source code for the + OpenJDK + requires + a certain degree of technical expertise.


@@ -37,18 +37,23 @@
+ + +
+

Use of Mercurial

+
+ The OpenJDK sources are maintained with the revision control system + Mercurial. + If you are new to Mercurial, please see the + Beginner Guides + or refer to the Mercurial Book. + The first few chapters of the book provide an excellent overview of + Mercurial, what it is and how it works. +
+ For using Mercurial with the OpenJDK refer to the + + Developer Guide: Installing and Configuring Mercurial + section for more information. + The Forest Extension is not part of the Mercurial install, + and is optional, + but can be obtained with the following commands: +
+ + hg clone https://bitbucket.org/pmezard/hgforest-crew/overview/ YourHgForest + +
+ Once you have the file forest.py, you need to add these + lines to your ${HOME}/.hgrc file: +
+ + [extensions] +
forest = YourHgForest/forest.py +
+
+ + +

Getting the Source

+
+ To get the entire set of OpenJDK Mercurial repositories + using the Forest Extension: +
+ + hg fclone http://openjdk.java.net/jdk7/jdk7 YourOpenJDK + +
+ To get the entire set of OpenJDK Mercurial repositories + without using the Forest Extension: +
+ + hg clone http://openjdk.java.net/jdk7/jdk7 YourOpenJDK +
cd YourOpenJDK +
sh ./get_source.sh +
+
+ Once you have all the repositories, the + script make/scripts/hgforest.sh + can be used to repeat the same hg + command on every repository in the forest, e.g. +
+ + cd YourOpenJDK +
sh ./make/scripts/hgforest.sh pull -u +
+
+ You may find this script make/scripts/hgforest.sh faster + than the hg forest commands provided by the + Forest Extension. +
+ +
+

Minimum Build Environments

@@ -116,8 +191,8 @@ specific platforms, and in fact creating these specific platforms may be difficult due to the age of some of this software.

- The minimum OS and C/C++ compiler versions needed for building the - OpenJDK: + The minimum OS and C/C++ compiler versions needed for building the + OpenJDK:

@@ -146,7 +221,7 @@ @@ -156,7 +231,7 @@ @@ -166,7 +241,7 @@ @@ -176,7 +251,7 @@ @@ -195,14 +270,14 @@
Solaris 10u2 + patches
See - SunSolve for patch downloads. + SunSolve for patch downloads.
Sun Studio 12 Update 1 + patches JDK 6u14 FCS Solaris 10u2 + patches
See - SunSolve for patch downloads. + SunSolve for patch downloads.
Sun Studio 12 Update 1 + patches JDK 6u14 FCS Solaris 10u2 + patches
See - SunSolve for patch downloads. + SunSolve for patch downloads.
Sun Studio 12 Update 1 + patches JDK 6u14 FCS Solaris 10u2 + patches
See - SunSolve for patch downloads. + SunSolve for patch downloads.
Sun Studio 12 Update 1 + patches JDK 6u14 FCS
-

+

These same sources do indeed build on many more systems than the above older generation systems, again the above is just a minimum. -

+

Compilation problems with newer or different C/C++ compilers is a common problem. Similarly, compilation problems related to changes to the - /usr/include or system header files is also a + /usr/include or system header files is also a common problem with newer or unreleased OS versions. Please report these types of problems as bugs so that they can be dealt with accordingly. @@ -217,57 +292,57 @@

Fedora

-

Fedora 9

-

-

- After installing Fedora 9 +

Fedora 9

+

+

+ After installing Fedora 9 you need to install several build dependencies. The simplest way to do it is to execute the following commands as user - root: -

- yum-builddep java-openjdk -

- yum install gcc gcc-c++ -

+ root: +

+ yum-builddep java-openjdk +

+ yum install gcc gcc-c++ +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk +

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk

-

Fedora 10

-

-

- After installing Fedora 10 +

Fedora 10

+

+

+ After installing Fedora 10 you need to install several build dependencies. The simplest way to do it is to execute the following commands as user - root: -

- yum-builddep java-1.6.0-openjdk -

- yum install gcc gcc-c++ -

+ root: +

+ yum-builddep java-1.6.0-openjdk +

+ yum install gcc gcc-c++ +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk +

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk

-

Fedora 11

-

-

- After installing Fedora 11 +

Fedora 11

+

+

+ After installing Fedora 11 you need to install several build dependencies. The simplest way to do it is to execute the following commands as user - root: -

- yum-builddep java-1.6.0-openjdk -

- yum install gcc gcc-c++ -

+ root: +

+ yum-builddep java-1.6.0-openjdk +

+ yum install gcc gcc-c++ +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk -

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk +

CentOS 5.2

@@ -285,7 +360,7 @@

- Plus the following packages: + Plus the following packages:

- The freetype 2.3 packages don't seem to be available, - but the freetype 2.3 sources can be downloaded, built, - and installed easily enough from - - the freetype site. - Build and install with something like: + The freetype 2.3 packages don't seem to be available, + but the freetype 2.3 sources can be downloaded, built, + and installed easily enough from + + the freetype site. + Build and install with something like:

./configure && make && sudo -u root make install

- Mercurial packages could not be found easily, but a Google - search should find ones, and they usually include Python if - it's needed. + Mercurial packages could not be found easily, but a Google + search should find ones, and they usually include Python if + it's needed.

Debian

Debian 5.0 (Lenny)

-

+
After installing Debian 5 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands as user root: -

- aptitude build-dep openjdk-6 -

- aptitude install openjdk-6-jdk libmotif-dev -

+

+ aptitude build-dep openjdk-6 +

+ aptitude install openjdk-6-jdk libmotif-dev +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk -

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

-

Ubuntu

+

Ubuntu

Ubuntu 8.04

-

+
After installing Ubuntu 8.04 you need to install several build dependencies. -

+

First, you need to enable the universe repository in the Software Sources application and reload the repository information. The Software Sources application is available under the System/Administration menu. -

+

The simplest way to install the build dependencies is to execute the following commands: -

- sudo aptitude build-dep openjdk-6 -

- sudo aptitude install openjdk-6-jdk -

+

+ sudo aptitude build-dep openjdk-6 +

+ sudo aptitude install openjdk-6-jdk +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk -

-

Ubuntu 8.10

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

+

Ubuntu 8.10

-

+
After installing Ubuntu 8.10 you need to install several build dependencies. The simplest way to do it is to execute the following commands: -

- sudo aptitude build-dep openjdk-6 -

- sudo aptitude install openjdk-6-jdk -

+

+ sudo aptitude build-dep openjdk-6 +

+ sudo aptitude install openjdk-6-jdk +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk -

-

Ubuntu 9.04

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

+

Ubuntu 9.04

-

+
After installing Ubuntu 9.04 you need to install several build dependencies. The simplest way to do it is to execute the following commands: -

- sudo aptitude build-dep openjdk-6 -

- sudo aptitude install openjdk-6-jdk -

+

+ sudo aptitude build-dep openjdk-6 +

+ sudo aptitude install openjdk-6-jdk +

In addition, it's necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk -

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk +

OpenSUSE

OpenSUSE 11.1

-

+
After installing OpenSUSE 11.1 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands: -

- sudo zypper source-install -d java-1_6_0-openjdk -

- sudo zypper install make -

+

+ sudo zypper source-install -d java-1_6_0-openjdk +

+ sudo zypper install make +

In addition, it is necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk -

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk +

Finally, you need to unset the JAVA_HOME environment variable: -

- export -n JAVA_HOME -

-
+

+ export -n JAVA_HOME +

+

Mandriva

Mandriva Linux One 2009 Spring

-

+
After installing Mandriva Linux One 2009 Spring you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands as user root: -

- urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel +

+ urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel

In addition, it is necessary to set a few environment variables for the build: -

- export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk -

+

+ export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk +

OpenSolaris

OpenSolaris 2009.06

-

+
After installing OpenSolaris 2009.06 you need to install several build dependencies. The simplest way to install the build dependencies is to execute the following commands: -

- pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2 +

+ pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2

In addition, it is necessary to set a few environment variables for the build: -

- export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/ -

+

+ export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/ +

Finally, you need to make sure that the build process can find the Sun Studio compilers: -

- export PATH=$PATH:/opt/SunStudioExpress/bin/ -

+

+ export PATH=$PATH:/opt/SunStudioExpress/bin/ +


Source Directory Structure

- The source code for the OpenJDK is delivered in a set of - directories: - hotspot, - langtools, - corba, - jaxws, - jaxp, - and - jdk. - The hotspot directory contains the source code and make - files for building the OpenJDK Hotspot Virtual Machine. - The langtools directory contains the source code and make - files for building the OpenJDK javac and language tools. - The corba directory contains the source code and make - files for building the OpenJDK Corba files. - The jaxws directory contains the source code and make - files for building the OpenJDK JAXWS files. - The jaxp directory contains the source code and make - files for building the OpenJDK JAXP files. - The jdk directory contains the source code and make files for - building the OpenJDK runtime libraries and misc files. - The top level Makefile - is used to build the entire OpenJDK. + The source code for the OpenJDK is delivered in a set of + directories: + hotspot, + langtools, + corba, + jaxws, + jaxp, + and + jdk. + The hotspot directory contains the source code and make + files for building the OpenJDK Hotspot Virtual Machine. + The langtools directory contains the source code and make + files for building the OpenJDK javac and language tools. + The corba directory contains the source code and make + files for building the OpenJDK Corba files. + The jaxws directory contains the source code and make + files for building the OpenJDK JAXWS files. + The jaxp directory contains the source code and make + files for building the OpenJDK JAXP files. + The jdk directory contains the source code and make files for + building the OpenJDK runtime libraries and misc files. + The top level Makefile + is used to build the entire OpenJDK.


@@ -495,10 +570,10 @@ ALT_* variables (alternates) can be used to help the makefiles locate components.

- Refer to the bash/sh/ksh setup file - jdk/make/jdk_generic_profile.sh - if you need help in setting up your environment variables. - A build could be as simple as: + Refer to the bash/sh/ksh setup file + jdk/make/jdk_generic_profile.sh + if you need help in setting up your environment variables. + A build could be as simple as:


                 bash
@@ -507,12 +582,12 @@
                 

- Of course ksh or sh would work too. - But some customization will probably be necessary. - The sanity rule will make some basic checks on build - dependencies and generate appropriate warning messages - regarding missing, out of date, or newer than expected components - found on your system. + Of course ksh or sh would work too. + But some customization will probably be necessary. + The sanity rule will make some basic checks on build + dependencies and generate appropriate warning messages + regarding missing, out of date, or newer than expected components + found on your system.


@@ -559,14 +634,14 @@ version that has this problem fixed. The older 3.80 version of make.exe can be downloaded with this - link. + link. Use of this older 3.80 make.exe may require that you install the libintl2.dll library or libintl2 cygwin package which is no longer installed by default by the cygwin installer.
Also see the - mozilla developer center + mozilla developer center on this topic.
It's hoped that when make 3.82 starts shipping in a future cygwin @@ -574,19 +649,19 @@ In addition to the above 3.80 make.exe you can download this - www.cmake.org make.exe which will not have a libintl2.dll + www.cmake.org make.exe which will not have a libintl2.dll dependency.

- Information on GNU make, and access to ftp download sites, are - available on the - - GNU make web site - . - The latest source to GNU make is available at - - ftp.gnu.org/pub/gnu/make/. + Information on GNU make, and access to ftp download sites, are + available on the + + GNU make web site + . + The latest source to GNU make is available at + + ftp.gnu.org/pub/gnu/make/.


@@ -597,27 +672,27 @@ is a Pentium class processor or better, at least 256 MB of RAM, and approximately 1.5 GB of free disk space.

- X64 only: - The minimum recommended hardware for building the Linux - version is an AMD Opteron class processor, at least 512 MB of RAM, and - approximately 4 GB of free disk space. + X64 only: + The minimum recommended hardware for building the Linux + version is an AMD Opteron class processor, at least 512 MB of RAM, and + approximately 4 GB of free disk space.

- The build will use the tools contained in - /bin and - /usr/bin - of a standard installation of the Linux operating environment. - You should ensure that these directories are in your - PATH. + The build will use the tools contained in + /bin and + /usr/bin + of a standard installation of the Linux operating environment. + You should ensure that these directories are in your + PATH.

- Note that some Linux systems have a habit of pre-populating - your environment variables for you, for example JAVA_HOME - might get pre-defined for you to refer to the JDK installed on - your Linux system. - You will need to unset JAVA_HOME. - It's a good idea to run env and verify the - environment variables you are getting from the default system - settings make sense for building the - OpenJDK. + Note that some Linux systems have a habit of pre-populating + your environment variables for you, for example JAVA_HOME + might get pre-defined for you to refer to the JDK installed on + your Linux system. + You will need to unset JAVA_HOME. + It's a good idea to run env and verify the + environment variables you are getting from the default system + settings make sense for building the + OpenJDK.

Basic Linux Check List

@@ -629,17 +704,12 @@ ALT_BOOTDIR.
  • - Install the - Binary Plugs, set - ALT_BINARY_PLUGS_PATH. -
  • -
  • Optional Import JDK, set ALT_JDK_IMPORT_PATH.
  • Install or upgrade the FreeType development - package. + package.
  • Install @@ -660,23 +730,23 @@ Approximately 1.4 GB of free disk space is needed for a 32-bit build.

    - If you are building the 64-bit version, you should - run the command "isainfo -v" to verify that you have a - 64-bit installation, it should say sparcv9 or - amd64. - An additional 7 GB of free disk space is needed - for a 64-bit build. + If you are building the 64-bit version, you should + run the command "isainfo -v" to verify that you have a + 64-bit installation, it should say sparcv9 or + amd64. + An additional 7 GB of free disk space is needed + for a 64-bit build.

    - The build uses the tools contained in /usr/ccs/bin - and /usr/bin of a standard developer or full installation of - the Solaris operating environment. + The build uses the tools contained in /usr/ccs/bin + and /usr/bin of a standard developer or full installation of + the Solaris operating environment.

    - Solaris patches specific to the JDK can be downloaded from the - - SunSolve JDK Solaris patches download page. - You should ensure that the latest patch cluster for - your version of the Solaris operating environment has also - been installed. + Solaris patches specific to the JDK can be downloaded from the + + SunSolve JDK Solaris patches download page. + You should ensure that the latest patch cluster for + your version of the Solaris operating environment has also + been installed.

    Basic Solaris Check List

    @@ -688,11 +758,6 @@ ALT_BOOTDIR.
  • - Install the - Binary Plugs, set - ALT_BINARY_PLUGS_PATH. -
  • -
  • Optional Import JDK, set ALT_JDK_IMPORT_PATH.
  • @@ -731,10 +796,10 @@ because FAT32 doesn't support case-sensitivity in file names.

    - X64 only: - The minimum recommended hardware for building - the Windows X64 version is an AMD Opteron class processor, at least 1 - GB of RAM, and approximately 10 GB of free disk space. + X64 only: + The minimum recommended hardware for building + the Windows X64 version is an AMD Opteron class processor, at least 1 + GB of RAM, and approximately 10 GB of free disk space.

    Windows Paths

    @@ -753,18 +818,18 @@ (called 'mixed'), e.g. cygpath -s -m "path".

    - The makefiles will try to translate any pathnames supplied - to it into the C:/ style automatically. + The makefiles will try to translate any pathnames supplied + to it into the C:/ style automatically.

    - Note that use of CYGWIN creates a unique problem with regards to - setting PATH. Normally on Windows - the PATH variable contains directories - separated with the ";" character (Solaris and Linux uses ":"). - With CYGWIN, it uses ":", but that means that paths like "C:/path" - cannot be placed in the CYGWIN version of PATH and - instead CYGWIN uses something like /cygdrive/c/path - which CYGWIN understands, but only CYGWIN understands. - So be careful with paths on Windows. + Note that use of CYGWIN creates a unique problem with regards to + setting PATH. Normally on Windows + the PATH variable contains directories + separated with the ";" character (Solaris and Linux uses ":"). + With CYGWIN, it uses ":", but that means that paths like "C:/path" + cannot be placed in the CYGWIN version of PATH and + instead CYGWIN uses something like /cygdrive/c/path + which CYGWIN understands, but only CYGWIN understands. + So be careful with paths on Windows.

    Basic Windows Check List

    @@ -780,11 +845,6 @@ ALT_BOOTDIR.
  • - Install the - Binary Plugs, set - ALT_BINARY_PLUGS_PATH.. -
  • -
  • Optional Import JDK, set ALT_JDK_IMPORT_PATH.
  • @@ -828,7 +888,7 @@ JDK 6, this is often called a bootstrap JDK. The JDK 6 binaries can be downloaded from Sun's JDK 6 download site. + target="_blank">JDK 6 download site. For build performance reasons is very important that this bootstrap JDK be made available on the local disk of the machine doing the build. @@ -841,44 +901,12 @@ in the PATH environment variable, although it's not required.

    - Solaris: - Some pre-installed JDK images may be available to you in the - directory /usr/jdk/instances. - If you don't set - ALT_BOOTDIR - the makefiles will look in that location for a JDK it can use. - - -

    Binary Plugs

    -
    - Not all of the source code that makes up the JDK is available - under an open-source license. - This is a temporary situation and these binary plugs will be - replaced with fully open source replacements as soon as possible. - So currently, in order to build a complete OpenJDK image, - you must first download and install the appropriate - binary plug bundles for the OpenJDK, go to the - OpenJDK site and select - the - "Bundles(7)" - link and download the binaryplugs for - your particular platform. - The file downloaded is a jar file that must be extracted by running - the jar file with: -
    -
    -            java -jar jdk-7-ea-plug-bnn-os-arch-dd_month_year.jar
    -                    
    -
    - A prompt will be issued for acceptance of these binary plug files. - During the OpenJDK build process these "binary plugs" - for the encumbered components will be copied into your - resulting OpenJDK binary build image. - These binary plug files are only for the purpose of - building an OpenJDK binary. - Make sure you set - ALT_BINARY_PLUGS_PATH - to the root of this installation. + Solaris: + Some pre-installed JDK images may be available to you in the + directory /usr/jdk/instances. + If you don't set + ALT_BOOTDIR + the makefiles will look in that location for a JDK it can use.

    Optional Import JDK

    @@ -896,7 +924,7 @@ All OpenJDK builds require access to least Ant 1.6.5. The Ant tool is available from the - Ant download site. + Ant download site. You should always make sure ant is in your PATH, and on Windows you may also need to set ANT_HOME @@ -908,7 +936,7 @@

    Certificate Authority File (cacert)

    See - http://en.wikipedia.org/wiki/Certificate_Authority + http://en.wikipedia.org/wiki/Certificate_Authority for a better understanding of the Certificate Authority (CA). A certificates file named "cacerts" represents a system-wide keystore with CA certificates. @@ -942,121 +970,121 @@
    At a minimum, the - Sun Studio 12 Update 1 Compilers + Sun Studio 12 Update 1 Compilers (containing version 5.10 of the C and C++ compilers) is required, including specific patches. -

    +

    The Solaris SPARC patch list is: -

    Windows i586: Microsoft Visual Studio 2010 Compilers
    -

    -BEGIN WARNING: At this time (Spring/Summer 2010) JDK 7 is starting a transition to -use the newest VS2010 Microsoft compilers. These build instructions are updated -to show where we are going. We have a QA process to go through before -official builds actually use VS2010. So for now, official builds are -still using VS2003. No other compilers are known to build the entire JDK, -including non-open portions. -So for now you should be able to build with either VS2003 or VS2010. -We do not guarantee that VS2008 will work, although there is sufficient -makefile support to make at least basic JDK builds plausible. -Visual Studio 2010 Express compilers are now able to build all the -open source repositories, but this is 32 bit only. To build 64 bit -Windows binaries use the the 7.1 Windows SDK.END WARNING. -

    - The 32-bit OpenJDK Windows build - requires - Microsoft Visual Studio C++ 2010 (VS2010) Professional - Edition or Express compiler. - The compiler and other tools are expected to reside - in the location defined by the variable - VS100COMNTOOLS which - is set by the Microsoft Visual Studio installer. +

    + BEGIN WARNING: At this time (Spring/Summer 2010) JDK 7 is starting a transition to + use the newest VS2010 Microsoft compilers. These build instructions are updated + to show where we are going. We have a QA process to go through before + official builds actually use VS2010. So for now, official builds are + still using VS2003. No other compilers are known to build the entire JDK, + including non-open portions. + So for now you should be able to build with either VS2003 or VS2010. + We do not guarantee that VS2008 will work, although there is sufficient + makefile support to make at least basic JDK builds plausible. + Visual Studio 2010 Express compilers are now able to build all the + open source repositories, but this is 32 bit only. To build 64 bit + Windows binaries use the the 7.1 Windows SDK.END WARNING. +

    + The 32-bit OpenJDK Windows build + requires + Microsoft Visual Studio C++ 2010 (VS2010) Professional + Edition or Express compiler. + The compiler and other tools are expected to reside + in the location defined by the variable + VS100COMNTOOLS which + is set by the Microsoft Visual Studio installer.

    - Once the compiler is installed, - it is recommended that you run VCVARS32.BAT - to set the compiler environment variables - INCLUDE, - LIB, and - PATH - prior to building the - OpenJDK. - The above environment variables MUST be set. - This compiler also contains the Windows SDK v 7.0a, - which is an update to the Windows 7 SDK. + Once the compiler is installed, + it is recommended that you run VCVARS32.BAT + to set the compiler environment variables + INCLUDE, + LIB, and + PATH + prior to building the + OpenJDK. + The above environment variables MUST be set. + This compiler also contains the Windows SDK v 7.0a, + which is an update to the Windows 7 SDK.

    - WARNING: Make sure you check out the - CYGWIN link.exe WARNING. - The path /usr/bin must be after the path to the - Visual Studio product. + WARNING: Make sure you check out the + CYGWIN link.exe WARNING. + The path /usr/bin must be after the path to the + Visual Studio product.

    Windows x64: Microsoft Visual Studio 2010 Professional Compiler
    @@ -1069,22 +1097,22 @@ you have VS2010 Professional.
    Windows x64: Microsoft Windows 7.1 SDK 64 bit compilers. - For a free alternative for 64 bit builds, use the 7.1 SDK. - Microsoft say that to set up your paths for this run -
    +                For a free alternative for 64 bit builds, use the 7.1 SDK.
    +                Microsoft say that to set up your paths for this run
    +                
         c:\Program Files\Microsoft SDKs\Windows\v7.1\bin\setenv.cmd /x64.
    -
    - What was tested is just directly setting up LIB, INCLUDE, - PATH and based on the installation directories using the - DOS short name appropriate for the system, (you will - need to set them for yours, not just blindly copy this) eg : -
    +                
    + What was tested is just directly setting up LIB, INCLUDE, + PATH and based on the installation directories using the + DOS short name appropriate for the system, (you will + need to set them for yours, not just blindly copy this) eg : +
         set VSINSTALLDIR=c:\PROGRA~2\MICROS~1.0
         set WindowsSdkDir=c:\PROGRA~1\MICROS~1\Windows\v7.1
         set PATH=%VSINSTALLDIR%\vc\bin\amd64;%VSINSTALLDIR%\Common7\IDE;%WindowsSdkDir%\bin;%PATH%
         set INCLUDE=%VSINSTALLDIR%\vc\include;%WindowsSdkDir%\include
         set LIB=%VSINSTALLDIR%\vc\lib\amd64;%WindowsSdkDir%\lib\x64
    -
    +

    Zip and Unzip

    @@ -1110,41 +1138,41 @@ Companion CD/DVD, these often will be installed into /opt/sfw/cups.

    - Linux: - CUPS header files are required for building the - OpenJDK on Linux. - The Linux header files are usually available from a "cups" - development package, it's recommended that you try and use - the package provided by the particular version of Linux that - you are using. + Linux: + CUPS header files are required for building the + OpenJDK on Linux. + The Linux header files are usually available from a "cups" + development package, it's recommended that you try and use + the package provided by the particular version of Linux that + you are using.

    - The CUPS header files can always be downloaded from - www.cups.org. - The variable - ALT_CUPS_HEADERS_PATH - can be used to override the default location of the - CUPS Header files. + The CUPS header files can always be downloaded from + www.cups.org. + The variable + ALT_CUPS_HEADERS_PATH + can be used to override the default location of the + CUPS Header files.

    XRender Extension Headers (Solaris & Linux)

    - Solaris: - XRender header files are required for building the - OpenJDK on Solaris. - The XRender header file is included with the other X11 header files - in the package SFWxwinc on new enough versions of - Solaris and will be installed in - /usr/X11/include/X11/extensions/Xrender.h + Solaris: + XRender header files are required for building the + OpenJDK on Solaris. + The XRender header file is included with the other X11 header files + in the package SFWxwinc on new enough versions of + Solaris and will be installed in + /usr/X11/include/X11/extensions/Xrender.h

    - Linux: - XRender header files are required for building the - OpenJDK on Linux. - The Linux header files are usually available from a "Xrender" - development package, it's recommended that you try and use - the package provided by the particular distribution of Linux that - you are using. -

    + Linux: + XRender header files are required for building the + OpenJDK on Linux. + The Linux header files are usually available from a "Xrender" + development package, it's recommended that you try and use + the package provided by the particular distribution of Linux that + you are using. +

    FreeType 2

    @@ -1155,31 +1183,31 @@ Note that you need development version of package that includes both FreeType library and header files.

    - You can always download latest FreeType version from the - FreeType website. + You can always download latest FreeType version from the + FreeType website.

    - Makefiles will try to pick FreeType from /usr/lib and /usr/include. - In case it is installed elsewhere you will need to set environment - variables - ALT_FREETYPE_LIB_PATH - and - ALT_FREETYPE_HEADERS_PATH - to refer to place where library and header files are installed. + Makefiles will try to pick FreeType from /usr/lib and /usr/include. + In case it is installed elsewhere you will need to set environment + variables + ALT_FREETYPE_LIB_PATH + and + ALT_FREETYPE_HEADERS_PATH + to refer to place where library and header files are installed.

    - Building the freetype 2 libraries from scratch is also possible, - however on Windows refer to the - - Windows FreeType DLL build instructions. + Building the freetype 2 libraries from scratch is also possible, + however on Windows refer to the + + Windows FreeType DLL build instructions.

    - Note that by default FreeType is built with byte code hinting - support disabled due to licensing restrictions. - In this case, text appearance and metrics are expected to - differ from Sun's official JDK build. - See - - the SourceForge FreeType2 Home Page - - for more information. + Note that by default FreeType is built with byte code hinting + support disabled due to licensing restrictions. + In this case, text appearance and metrics are expected to + differ from Sun's official JDK build. + See + + the SourceForge FreeType2 Home Page + + for more information.

    Advanced Linux Sound Architecture (ALSA) (Linux only)

    @@ -1195,25 +1223,25 @@ The makefiles will check this emit a sanity error if it is missing or the wrong version.

    - In particular, older Linux systems will likely not have the - right version of ALSA installed, for example - Redhat AS 2.1 U2 and SuSE 8.1 do not include a sufficiently - recent ALSA distribution. - On rpm-based systems, you can see if ALSA is installed by - running this command: + In particular, older Linux systems will likely not have the + right version of ALSA installed, for example + Redhat AS 2.1 U2 and SuSE 8.1 do not include a sufficiently + recent ALSA distribution. + On rpm-based systems, you can see if ALSA is installed by + running this command:

                         rpm -qa | grep alsa
                     
    Both alsa and alsa-devel packages are needed.

    - If your distribution does not come with ALSA, and you can't - find ALSA packages built for your particular system, - you can try to install the pre-built ALSA rpm packages from - - www.freshrpms.net. - Note that installing a newer ALSA could - break sound output if an older version of ALSA was previously - installed on the system, but it will enable JDK compilation. + If your distribution does not come with ALSA, and you can't + find ALSA packages built for your particular system, + you can try to install the pre-built ALSA rpm packages from + + www.freshrpms.net. + Note that installing a newer ALSA could + break sound output if an older version of ALSA was previously + installed on the system, but it will enable JDK compilation.

    Installation: execute as root
    [i586]: rpm -Uv --force alsa-lib-devel-0.9.1-rh61.i386.rpm
    @@ -1228,7 +1256,7 @@
    As a last resort you can go to the - Advanced Linux Sound Architecture Site and build it from + Advanced Linux Sound Architecture Site and build it from source.
    Download driver and library @@ -1256,9 +1284,9 @@ building the JDK platform. To actually use ALSA sound drivers, more steps are necessary as outlined in the documentation on ALSA's homepage.

    - ALSA can be uninstalled by executing make uninstall first in - the alsa-lib-0.9.1 directory and then in - alsa-driver-0.9.1. + ALSA can be uninstalled by executing make uninstall first in + the alsa-lib-0.9.1 directory and then in + alsa-driver-0.9.1.

    There are no ALT* variables to change the assumed locations of ALSA, the makefiles will expect to find the ALSA include files and library at: @@ -1273,15 +1301,15 @@ on Windows which can be supplied by CYGWIN.

    - The OpenJDK build requires CYGWIN version 1.5.12 or newer. - Information about CYGWIN can - be obtained from the CYGWIN website at - www.cygwin.com. + The OpenJDK build requires CYGWIN version 1.5.12 or newer. + Information about CYGWIN can + be obtained from the CYGWIN website at + www.cygwin.com.

    - By default CYGWIN doesn't install all the tools required for building - the OpenJDK. - Along with the default installation, you need to install - the following tools. + By default CYGWIN doesn't install all the tools required for building + the OpenJDK. + Along with the default installation, you need to install + the following tools.

    @@ -1298,21 +1326,21 @@ + utilities + NOTE: See the GNU make section + processor @@ -1354,21 +1382,21 @@
    Devel binutils The GNU assembler, linker and binary - utilities
    make.exe Devel make The GNU version of the 'make' utility built for CYGWIN.
    - NOTE: See the GNU make section
    m4.exe Interpreters m4 GNU implementation of the traditional Unix macro - processor
    cpio.exe

    - Note that the CYGWIN software can conflict with other non-CYGWIN - software on your Windows system. - CYGWIN provides a - FAQ for - known issues and problems, of particular interest is the - section on - - BLODA (applications that interfere with CYGWIN). + Note that the CYGWIN software can conflict with other non-CYGWIN + software on your Windows system. + CYGWIN provides a + FAQ for + known issues and problems, of particular interest is the + section on + + BLODA (applications that interfere with CYGWIN).

    - WARNING: - Be very careful with link.exe, it will conflict - with the Visual Studio version. You need the Visual Studio - version of link.exe, not the CYGWIN one. - So it's important that the Visual Studio paths in PATH preceed - the CYGWIN path /usr/bin. + WARNING: + Be very careful with link.exe, it will conflict + with the Visual Studio version. You need the Visual Studio + version of link.exe, not the CYGWIN one. + So it's important that the Visual Studio paths in PATH preceed + the CYGWIN path /usr/bin. Microsoft DirectX 9.0 SDK header files and libraries

    @@ -1377,7 +1405,7 @@ OpenJDK. This SDK can be downloaded from - Microsoft DirectX 9.0 SDK (Summer 2004). + Microsoft DirectX 9.0 SDK (Summer 2004). If the link above becomes obsolete, the SDK can be found from the Microsoft Download Site (search with "DirectX 9.0 SDK Update Summer 2004"). @@ -1431,14 +1459,14 @@

    - Solaris: - Note that ARCH_DATA_MODEL is really only needed on Solaris to - indicate you want to built the 64-bit version. - And before the Solaris 64-bit binaries can be used, they - must be merged with the binaries from a separate 32-bit build. - The merged binaries may then be used in either 32-bit or 64-bit mode, with - the selection occurring at runtime - with the -d32 or -d64 options. + Solaris: + Note that ARCH_DATA_MODEL is really only needed on Solaris to + indicate you want to built the 64-bit version. + And before the Solaris 64-bit binaries can be used, they + must be merged with the binaries from a separate 32-bit build. + The merged binaries may then be used in either 32-bit or 64-bit mode, with + the selection occurring at runtime + with the -d32 or -d64 options.


    @@ -1450,37 +1478,39 @@ The default output directory is build/platform, where platform is one of - +
    + +
    In particular, the build/platform/j2sdk-image/bin directory should contain executables for the OpenJDK tools and utilities.

    - You can test that the build completed properly by using the build - to run the various demos that you will find in the - build/platform/j2sdk-image/demo - directory. + You can test that the build completed properly by using the build + to run the various demos that you will find in the + build/platform/j2sdk-image/demo + directory.

    - The provided regression tests can be run with the jtreg - utility from - the jtreg site. + The provided regression tests can be run with the jtreg + utility from + the jtreg site.


    Environment/Make Variables

    - Some of the - environment or make variables (just called variables in this - document) that can impact the build are: + Some of the + environment or make variables (just called variables in this + document) that can impact the build are:

    PATH
    @@ -1488,11 +1518,11 @@
    MILESTONE
    @@ -1523,14 +1553,6 @@ You should always install your own local Bootstrap JDK and always set ALT_BOOTDIR explicitly. -
    ALT_BINARY_PLUGS_PATH
    -
    - The location of the binary plugs installation. - See Binary Plugs for more information. - You should always have a local copy of a - recent Binary Plugs install image - and set this variable to that location. -
    ALT_JDK_IMPORT_PATH
    The location of a previously built JDK installation. @@ -1627,36 +1649,19 @@ Where each of these directories contain the import JDK image for that platform.
    -
    ALT_BUILD_BINARY_PLUGS_PATH
    -
    - These are useful in managing builds on multiple platforms. - The default network location for all of the binary plug images - for all platforms. - If ALT_BINARY_PLUGS_PATH - is not set, this directory will be used and should contain - the following directories: - solaris-sparc, - solaris-i586, - solaris-sparcv9, - solaris-amd64, - linux-i586, - linux-amd64, - windows-i586, - and - windows-amd64. - Where each of these directories contain the binary plugs image - for that platform. -
    Windows specific:
    -
    ALT_MSDEVTOOLS_PATH
    +
    ALT_WINDOWSSDKDIR
    The location of the - Microsoft Visual Studio - tools 'bin' directory. - The default is usually derived from - ALT_COMPILER_PATH. + Microsoft Windows SDK where some tools will be + located. + The default is whatever WINDOWSSDKDIR is set to + (or WindowsSdkDir) or the path +
    +                            c:\Program Files\Microsoft SDKs\Windows\v6.1a
    +			    
    ALT_DXSDK_PATH
    @@ -1694,17 +1699,17 @@ Look for the check list of the platform you are building on in the Table of Contents.

    - You can validate your build environment by using the sanity - target. - Any errors listed - will stop the build from starting, and any warnings may result in - a flawed product build. - We strongly encourage you to evaluate every - sanity check warning and fix it if required, before you proceed - further with your build. + You can validate your build environment by using the sanity + target. + Any errors listed + will stop the build from starting, and any warnings may result in + a flawed product build. + We strongly encourage you to evaluate every + sanity check warning and fix it if required, before you proceed + further with your build.

    - Some of the more common problems with builds are briefly described - below, with suggestions for remedies. + Some of the more common problems with builds are briefly described + below, with suggestions for remedies.

    • Slow Builds: @@ -1715,15 +1720,15 @@ machine, setting it to more than the the number of CPUs is probably not a good idea).

      - Creating the javadocs can be very slow, if you are running - javadoc, consider skipping that step. + Creating the javadocs can be very slow, if you are running + javadoc, consider skipping that step.

      - Faster hardware and more RAM always helps too. - The VM build tends to be CPU intensive (many C++ compiles), - and the rest of the JDK will often be disk intensive. + Faster hardware and more RAM always helps too. + The VM build tends to be CPU intensive (many C++ compiles), + and the rest of the JDK will often be disk intensive.

      - Faster compiles are possible using a tool called - ccache. + Faster compiles are possible using a tool called + ccache.

  • @@ -1732,10 +1737,10 @@ If you see warnings that refer to file time stamps, e.g.
    Warning message: File `xxx' has modification time in - the future. + the future.
    Warning message: Clock skew detected. Your build may - be incomplete. + be incomplete.
    These warnings can occur when the clock on the build machine is out of sync with the timestamps on the source files. Other errors, apparently @@ -1747,9 +1752,9 @@ when the pre-1.4 compiler ran across the new assert keyword in the 1.4 source code.

    - If you see these warnings, reset the clock on the build - machine, run "gmake clobber" or delete the directory - containing the build output, and restart the build from the beginning. + If you see these warnings, reset the clock on the build + machine, run "gmake clobber" or delete the directory + containing the build output, and restart the build from the beginning.

  • @@ -1776,32 +1781,28 @@
    This is probably an issue with SELinux (See - http://en.wikipedia.org/wiki/SELinux). + http://en.wikipedia.org/wiki/SELinux). Parts of the VM is built without the -fPIC for performance reasons.

    - To completely disable SELinux: - -

      -
    1. $ su root
    2. -
    3. # system-config-securitylevel
    4. -
    5. In the window that appears, select the SELinux tab
    6. -
    7. Disable SELinux
    8. -
    - + To completely disable SELinux: +
      +
    1. $ su root
    2. +
    3. # system-config-securitylevel
    4. +
    5. In the window that appears, select the SELinux tab
    6. +
    7. Disable SELinux
    8. +

    - Alternatively, instead of completely disabling it you could - disable just this one check. - -

      -
    1. Select System->Administration->SELinux Management
    2. -
    3. In the SELinux Management Tool which appears, + Alternatively, instead of completely disabling it you could + disable just this one check. +
        +
      1. Select System->Administration->SELinux Management
      2. +
      3. In the SELinux Management Tool which appears, select "Boolean" from the menu on the left
      4. -
      5. Expand the "Memory Protection" group
      6. -
      7. Check the first item, labeled +
      8. Expand the "Memory Protection" group
      9. +
      10. Check the first item, labeled "Allow all unconfined executables to use libraries requiring text relocation ..."
      11. -
      -
      +
  • @@ -1810,7 +1811,7 @@ The CYGWIN software can conflict with other non-CYGWIN software. See the CYGWIN FAQ section on - BLODA (applications that interfere with CYGWIN). + BLODA (applications that interfere with CYGWIN).
  • diff -r 12cc7f77e459 -r 55a18147b4bf corba/.hgtags --- a/corba/.hgtags Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/.hgtags Tue Jan 04 17:05:38 2011 -0800 @@ -97,3 +97,4 @@ cff5a173ec1e89013359e804a3e31736ef6fb462 jdk7-b120 2cc9f32992101732b23730b737740e64ebc5fa89 jdk7-b121 1523a060032c8a5b7840198da8911abeff88118f jdk7-b122 +a230c142628cea22475ab9dc5cd544266ddf2466 jdk7-b123 diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/Makefile --- a/corba/make/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/com/sun/corba/minclude/com_sun_corba_se_impl_io.jmk --- a/corba/make/com/sun/corba/minclude/com_sun_corba_se_impl_io.jmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/com/sun/corba/minclude/com_sun_corba_se_impl_io.jmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/Defs-linux.gmk --- a/corba/make/common/Defs-linux.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/Defs-linux.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/Defs-solaris.gmk --- a/corba/make/common/Defs-solaris.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/Defs-solaris.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/Defs-windows.gmk --- a/corba/make/common/Defs-windows.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/Defs-windows.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/Defs.gmk --- a/corba/make/common/Defs.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/Defs.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/Rules.gmk --- a/corba/make/common/Rules.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/Rules.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/shared/Defs-java.gmk --- a/corba/make/common/shared/Defs-java.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/shared/Defs-java.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/shared/Defs-linux.gmk --- a/corba/make/common/shared/Defs-linux.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/shared/Defs-linux.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/shared/Defs-solaris.gmk --- a/corba/make/common/shared/Defs-solaris.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/shared/Defs-solaris.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/shared/Defs-windows.gmk --- a/corba/make/common/shared/Defs-windows.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/shared/Defs-windows.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/common/shared/Defs.gmk --- a/corba/make/common/shared/Defs.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/common/shared/Defs.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/org/omg/idl/Makefile --- a/corba/make/org/omg/idl/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/org/omg/idl/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/sun/corba/Makefile --- a/corba/make/sun/corba/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/sun/corba/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/sun/corba/core/Makefile --- a/corba/make/sun/corba/core/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/sun/corba/core/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/make/sun/rmi/rmic/FILES.gmk --- a/corba/make/sun/rmi/rmic/FILES.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/make/sun/rmi/rmic/FILES.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/encoding/BufferManagerWriteStream.java --- a/corba/src/share/classes/com/sun/corba/se/impl/encoding/BufferManagerWriteStream.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/encoding/BufferManagerWriteStream.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java --- a/corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/io/IIOPInputStream.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java --- a/corba/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/io/ObjectStreamClass.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java --- a/corba/src/share/classes/com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties --- a/corba/src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/orbutil/resources/sunorb_pt_BR.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ -# Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java --- a/corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/pept/transport/ConnectionCache.java --- a/corba/src/share/classes/com/sun/corba/se/pept/transport/ConnectionCache.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/pept/transport/ConnectionCache.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/spi/protocol/PIHandler.java --- a/corba/src/share/classes/com/sun/corba/se/spi/protocol/PIHandler.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/spi/protocol/PIHandler.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/corba/se/spi/transport/CorbaConnection.java --- a/corba/src/share/classes/com/sun/corba/se/spi/transport/CorbaConnection.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/corba/se/spi/transport/CorbaConnection.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/Expression.java --- a/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/Expression.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/com/sun/tools/corba/se/idl/constExpr/Expression.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/javax/rmi/PortableRemoteObject.java --- a/corba/src/share/classes/javax/rmi/PortableRemoteObject.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/javax/rmi/PortableRemoteObject.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CORBA/ORB.java --- a/corba/src/share/classes/org/omg/CORBA/ORB.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CORBA/ORB.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CORBA/SetOverrideType.java --- a/corba/src/share/classes/org/omg/CORBA/SetOverrideType.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CORBA/SetOverrideType.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2000, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CORBA/TCKind.java --- a/corba/src/share/classes/org/omg/CORBA/TCKind.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CORBA/TCKind.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CORBA/UnknownUserException.java --- a/corba/src/share/classes/org/omg/CORBA/UnknownUserException.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CORBA/UnknownUserException.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CORBA/portable/ServantObject.java --- a/corba/src/share/classes/org/omg/CORBA/portable/ServantObject.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CORBA/portable/ServantObject.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/CosNaming/nameservice.idl --- a/corba/src/share/classes/org/omg/CosNaming/nameservice.idl Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/CosNaming/nameservice.idl Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2002, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl --- a/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf corba/src/share/classes/sun/corba/Bridge.java --- a/corba/src/share/classes/sun/corba/Bridge.java Tue Jan 04 14:17:45 2011 -0800 +++ b/corba/src/share/classes/sun/corba/Bridge.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf get_source.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/get_source.sh Tue Jan 04 17:05:38 2011 -0800 @@ -0,0 +1,33 @@ +#!/bin/sh + +# +# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + +# Get clones of all nested repositories +sh ./make/scripts/hgforest.sh clone + +# Update all existing repositories to the latest sources +sh ./make/scripts/hgforest.sh pull -u + diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/.hgtags --- a/hotspot/.hgtags Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/.hgtags Tue Jan 04 17:05:38 2011 -0800 @@ -136,3 +136,5 @@ 3f3653ab7af8dc1ddb9fa75dad56bf94f89e81a8 jdk7-b121 3a548dc9cb456110ca8fc1514441a8c3bda0014d jdk7-b122 5484e7c53fa7da5e869902437ee08a9ae10c1c69 hs20-b03 +9669f9b284108a9ee0a0ccbe215c37a130c9dcf5 jdk7-b123 +9669f9b284108a9ee0a0ccbe215c37a130c9dcf5 hs20-b04 diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/os/linux/libproc_impl.c --- a/hotspot/agent/src/os/linux/libproc_impl.c Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/os/linux/libproc_impl.c Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/os/linux/ps_core.c --- a/hotspot/agent/src/os/linux/ps_core.c Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/os/linux/ps_core.c Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/os/linux/ps_proc.c --- a/hotspot/agent/src/os/linux/ps_proc.c Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/os/linux/ps_proc.c Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/os/linux/symtab.c --- a/hotspot/agent/src/os/linux/symtab.c Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/os/linux/symtab.c Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/os/linux/symtab.h --- a/hotspot/agent/src/os/linux/symtab.h Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/os/linux/symtab.h Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeInvoke.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeInvoke.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeInvoke.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/Bytecodes.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/SystemDictionary.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/SystemDictionary.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/SystemDictionary.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCache.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCache.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCache.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCacheEntry.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCacheEntry.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ConstantPoolCacheEntry.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/GenerateOopMap.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/GenerateOopMap.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/GenerateOopMap.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/Oop.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/Oop.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/Oop.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ByteCodeRewriter.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ByteCodeRewriter.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ByteCodeRewriter.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/hotspot_distro --- a/hotspot/make/hotspot_distro Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/hotspot_distro Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/hotspot_version --- a/hotspot/make/hotspot_version Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/hotspot_version Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -35,7 +35,7 @@ HS_MAJOR_VER=20 HS_MINOR_VER=0 -HS_BUILD_NUMBER=04 +HS_BUILD_NUMBER=05 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/jprt.gmk --- a/hotspot/make/jprt.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/jprt.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/jprt.properties --- a/hotspot/make/jprt.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/jprt.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/defs.make --- a/hotspot/make/linux/makefiles/defs.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/defs.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/jvmti.make --- a/hotspot/make/linux/makefiles/jvmti.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/jvmti.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/mapfile-vers-debug --- a/hotspot/make/linux/makefiles/mapfile-vers-debug Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/mapfile-vers-debug Tue Jan 04 17:05:38 2011 -0800 @@ -3,7 +3,7 @@ # # -# Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/mapfile-vers-product --- a/hotspot/make/linux/makefiles/mapfile-vers-product Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/mapfile-vers-product Tue Jan 04 17:05:38 2011 -0800 @@ -3,7 +3,7 @@ # # -# Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/product.make --- a/hotspot/make/linux/makefiles/product.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/product.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/saproc.make --- a/hotspot/make/linux/makefiles/saproc.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/saproc.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/shark.make --- a/hotspot/make/linux/makefiles/shark.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/shark.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright 2008, 2010 Red Hat, Inc. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/linux/makefiles/sparcWorks.make --- a/hotspot/make/linux/makefiles/sparcWorks.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/linux/makefiles/sparcWorks.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/defs.make --- a/hotspot/make/solaris/makefiles/defs.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/defs.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/fastdebug.make --- a/hotspot/make/solaris/makefiles/fastdebug.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/fastdebug.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/jvmti.make --- a/hotspot/make/solaris/makefiles/jvmti.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/jvmti.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/optimized.make --- a/hotspot/make/solaris/makefiles/optimized.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/optimized.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/product.make --- a/hotspot/make/solaris/makefiles/product.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/product.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/solaris/makefiles/saproc.make --- a/hotspot/make/solaris/makefiles/saproc.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/solaris/makefiles/saproc.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/windows/build.bat --- a/hotspot/make/windows/build.bat Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/windows/build.bat Tue Jan 04 17:05:38 2011 -0800 @@ -1,6 +1,6 @@ @echo off REM -REM Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. +REM Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. REM REM This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/windows/get_msc_ver.sh --- a/hotspot/make/windows/get_msc_ver.sh Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/windows/get_msc_ver.sh Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/windows/makefiles/defs.make --- a/hotspot/make/windows/makefiles/defs.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/windows/makefiles/defs.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/make/windows/makefiles/sanity.make --- a/hotspot/make/windows/makefiles/sanity.make Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/make/windows/makefiles/sanity.make Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/os/solaris/dtrace/hotspot.d --- a/hotspot/src/os/solaris/dtrace/hotspot.d Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/os/solaris/dtrace/hotspot.d Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s --- a/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.il --- a/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.il Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.il Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ // -// Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.s --- a/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.s Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_32.s Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ // -// Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il --- a/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ // -// Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. // // This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp --- a/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp Tue Jan 04 17:05:38 2011 -0800 @@ -1825,23 +1825,11 @@ } } - -class G1CMIsAliveClosure: public BoolObjectClosure { - G1CollectedHeap* _g1; - public: - G1CMIsAliveClosure(G1CollectedHeap* g1) : - _g1(g1) - {} - - void do_object(oop obj) { - assert(false, "not to be invoked"); - } - bool do_object_b(oop obj) { - HeapWord* addr = (HeapWord*)obj; - return addr != NULL && - (!_g1->is_in_g1_reserved(addr) || !_g1->is_obj_ill(obj)); - } -}; +bool G1CMIsAliveClosure::do_object_b(oop obj) { + HeapWord* addr = (HeapWord*)obj; + return addr != NULL && + (!_g1->is_in_g1_reserved(addr) || !_g1->is_obj_ill(obj)); +} class G1CMKeepAliveClosure: public OopClosure { G1CollectedHeap* _g1; @@ -1896,16 +1884,15 @@ rp->setup_policy(clear_all_soft_refs); assert(_markStack.isEmpty(), "mark stack should be empty"); - G1CMIsAliveClosure g1IsAliveClosure (g1h); - G1CMKeepAliveClosure g1KeepAliveClosure(g1h, this, nextMarkBitMap()); + G1CMIsAliveClosure g1_is_alive(g1h); + G1CMKeepAliveClosure g1_keep_alive(g1h, this, nextMarkBitMap()); G1CMDrainMarkingStackClosure - g1DrainMarkingStackClosure(nextMarkBitMap(), &_markStack, - &g1KeepAliveClosure); + g1_drain_mark_stack(nextMarkBitMap(), &_markStack, &g1_keep_alive); // XXXYYY Also: copy the parallel ref processing code from CMS. - rp->process_discovered_references(&g1IsAliveClosure, - &g1KeepAliveClosure, - &g1DrainMarkingStackClosure, + rp->process_discovered_references(&g1_is_alive, + &g1_keep_alive, + &g1_drain_mark_stack, NULL); assert(_markStack.overflow() || _markStack.isEmpty(), "mark stack should be empty (unless it overflowed)"); @@ -1918,8 +1905,8 @@ assert(!rp->discovery_enabled(), "should have been disabled"); // Now clean up stale oops in SymbolTable and StringTable - SymbolTable::unlink(&g1IsAliveClosure); - StringTable::unlink(&g1IsAliveClosure); + SymbolTable::unlink(&g1_is_alive); + StringTable::unlink(&g1_is_alive); } void ConcurrentMark::swapMarkBitMaps() { diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/g1/concurrentMark.hpp --- a/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.hpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/g1/concurrentMark.hpp Tue Jan 04 17:05:38 2011 -0800 @@ -33,6 +33,25 @@ typedef GenericTaskQueue CMTaskQueue; typedef GenericTaskQueueSet CMTaskQueueSet; +// Closure used by CM during concurrent reference discovery +// and reference processing (during remarking) to determine +// if a particular object is alive. It is primarily used +// to determine if referents of discovered reference objects +// are alive. An instance is also embedded into the +// reference processor as the _is_alive_non_header field +class G1CMIsAliveClosure: public BoolObjectClosure { + G1CollectedHeap* _g1; + public: + G1CMIsAliveClosure(G1CollectedHeap* g1) : + _g1(g1) + {} + + void do_object(oop obj) { + ShouldNotCallThis(); + } + bool do_object_b(oop obj); +}; + // A generic CM bit map. This is essentially a wrapper around the BitMap // class, with one bit per (1<<_shifter) HeapWords. diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp --- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Tue Jan 04 17:05:38 2011 -0800 @@ -1192,6 +1192,7 @@ return false; } + DTraceGCProbeMarker gc_probe_marker(true /* full */); ResourceMark rm; if (PrintHeapAtGC) { @@ -1768,6 +1769,7 @@ _g1_policy(policy_), _dirty_card_queue_set(false), _into_cset_dirty_card_queue_set(false), + _is_alive_closure(this), _ref_processor(NULL), _process_strong_tasks(new SubTasksDone(G1H_PS_NumElements)), _bot_shared(NULL), @@ -2061,7 +2063,8 @@ mr, // span false, // Reference discovery is not atomic true, // mt_discovery - NULL, // is alive closure: need to fill this in for efficiency + &_is_alive_closure, // is alive closure + // for efficiency ParallelGCThreads, ParallelRefProcEnabled, true); // Setting next fields of discovered @@ -3211,13 +3214,14 @@ return false; } + DTraceGCProbeMarker gc_probe_marker(false /* full */); + ResourceMark rm; + if (PrintHeapAtGC) { Universe::print_heap_before_gc(); } { - ResourceMark rm; - // This call will decide whether this pause is an initial-mark // pause. If it is, during_initial_mark_pause() will return true // for the duration of this pause. @@ -3956,8 +3960,6 @@ // Now restore saved marks, if any. if (_objs_with_preserved_marks != NULL) { assert(_preserved_marks_of_objs != NULL, "Both or none."); - assert(_objs_with_preserved_marks->length() == - _preserved_marks_of_objs->length(), "Both or none."); guarantee(_objs_with_preserved_marks->length() == _preserved_marks_of_objs->length(), "Both or none."); for (int i = 0; i < _objs_with_preserved_marks->length(); i++) { @@ -4052,7 +4054,10 @@ } void G1CollectedHeap::preserve_mark_if_necessary(oop obj, markOop m) { - if (m != markOopDesc::prototype()) { + assert(evacuation_failed(), "Oversaving!"); + // We want to call the "for_promotion_failure" version only in the + // case of a promotion failure. + if (m->must_be_preserved_for_promotion_failure(obj)) { if (_objs_with_preserved_marks == NULL) { assert(_preserved_marks_of_objs == NULL, "Both or none."); _objs_with_preserved_marks = diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp --- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Tue Jan 04 17:05:38 2011 -0800 @@ -849,6 +849,12 @@ void print_gc_alloc_regions(); #endif // !PRODUCT + // Instance of the concurrent mark is_alive closure for embedding + // into the reference processor as the is_alive_non_header. This + // prevents unnecessary additions to the discovered lists during + // concurrent discovery. + G1CMIsAliveClosure _is_alive_closure; + // ("Weak") Reference processing support ReferenceProcessor* _ref_processor; @@ -893,7 +899,7 @@ // specified by the policy object. jint initialize(); - void ref_processing_init(); + virtual void ref_processing_init(); void set_par_threads(int t) { SharedHeap::set_par_threads(t); diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp --- a/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/parNew/parNewGeneration.cpp Tue Jan 04 17:05:38 2011 -0800 @@ -1058,10 +1058,11 @@ #endif void ParNewGeneration::preserve_mark_if_necessary(oop obj, markOop m) { - if ((m != markOopDesc::prototype()) && - (!UseBiasedLocking || (m != markOopDesc::biased_locking_prototype()))) { + if (m->must_be_preserved_for_promotion_failure(obj)) { + // We should really have separate per-worker stacks, rather + // than use locking of a common pair of stacks. MutexLocker ml(ParGCRareEvent_lock); - DefNewGeneration::preserve_mark_if_necessary(obj, m); + preserve_mark(obj, m); } } diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp --- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp Tue Jan 04 17:05:38 2011 -0800 @@ -694,6 +694,8 @@ void PSScavenge::oop_promotion_failed(oop obj, markOop obj_mark) { _promotion_failed = true; if (obj_mark->must_be_preserved_for_promotion_failure(obj)) { + // Should use per-worker private stakcs hetre rather than + // locking a common pair of stacks. ThreadCritical tc; _preserved_oop_stack.push(obj); _preserved_mark_stack.push(obj_mark); diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.hpp --- a/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.hpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.hpp Tue Jan 04 17:05:38 2011 -0800 @@ -209,4 +209,15 @@ HeapWord* result() const { return _res; } }; +class DTraceGCProbeMarker : public StackObj { +public: + DTraceGCProbeMarker(bool full) { + VM_GC_Operation::notify_gc_begin(full); + } + + ~DTraceGCProbeMarker() { + VM_GC_Operation::notify_gc_end(); + } +}; + #endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_VMGCOPERATIONS_HPP diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/memory/defNewGeneration.cpp --- a/hotspot/src/share/vm/memory/defNewGeneration.cpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/memory/defNewGeneration.cpp Tue Jan 04 17:05:38 2011 -0800 @@ -684,23 +684,28 @@ _preserved_marks_of_objs.clear(true); } +void DefNewGeneration::preserve_mark(oop obj, markOop m) { + assert(promotion_failed() && m->must_be_preserved_for_promotion_failure(obj), + "Oversaving!"); + _objs_with_preserved_marks.push(obj); + _preserved_marks_of_objs.push(m); +} + void DefNewGeneration::preserve_mark_if_necessary(oop obj, markOop m) { if (m->must_be_preserved_for_promotion_failure(obj)) { - _objs_with_preserved_marks.push(obj); - _preserved_marks_of_objs.push(m); + preserve_mark(obj, m); } } void DefNewGeneration::handle_promotion_failure(oop old) { - preserve_mark_if_necessary(old, old->mark()); - if (!_promotion_failed && PrintPromotionFailure) { + if (PrintPromotionFailure && !_promotion_failed) { gclog_or_tty->print(" (promotion failure size = " SIZE_FORMAT ") ", old->size()); } - + _promotion_failed = true; + preserve_mark_if_necessary(old, old->mark()); // forward to self old->forward_to(old); - _promotion_failed = true; _promo_failure_scan_stack.push(old); diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/memory/defNewGeneration.hpp --- a/hotspot/src/share/vm/memory/defNewGeneration.hpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/memory/defNewGeneration.hpp Tue Jan 04 17:05:38 2011 -0800 @@ -85,6 +85,7 @@ // Preserve the mark of "obj", if necessary, in preparation for its mark // word being overwritten with a self-forwarding-pointer. void preserve_mark_if_necessary(oop obj, markOop m); + void preserve_mark(oop obj, markOop m); // work routine used by the above // Together, these keep pairs. // They should always contain the same number of elements. diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/src/share/vm/oops/markOop.inline.hpp --- a/hotspot/src/share/vm/oops/markOop.inline.hpp Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/src/share/vm/oops/markOop.inline.hpp Tue Jan 04 17:05:38 2011 -0800 @@ -30,7 +30,7 @@ #include "oops/markOop.hpp" #include "runtime/globals.hpp" -// Should this header be preserved during GC? +// Should this header be preserved during GC (when biased locking is enabled)? inline bool markOopDesc::must_be_preserved_with_bias(oop obj_containing_mark) const { assert(UseBiasedLocking, "unexpected"); if (has_bias_pattern()) { @@ -47,14 +47,15 @@ return (!is_unlocked() || !has_no_hash()); } +// Should this header be preserved during GC? inline bool markOopDesc::must_be_preserved(oop obj_containing_mark) const { if (!UseBiasedLocking) return (!is_unlocked() || !has_no_hash()); return must_be_preserved_with_bias(obj_containing_mark); } -// Should this header (including its age bits) be preserved in the -// case of a promotion failure during scavenge? +// Should this header be preserved in the case of a promotion failure +// during scavenge (when biased locking is enabled)? inline bool markOopDesc::must_be_preserved_with_bias_for_promotion_failure(oop obj_containing_mark) const { assert(UseBiasedLocking, "unexpected"); // We don't explicitly save off the mark words of biased and @@ -70,18 +71,20 @@ prototype_for_object(obj_containing_mark)->has_bias_pattern()) { return true; } - return (this != prototype()); + return (!is_unlocked() || !has_no_hash()); } +// Should this header be preserved in the case of a promotion failure +// during scavenge? inline bool markOopDesc::must_be_preserved_for_promotion_failure(oop obj_containing_mark) const { if (!UseBiasedLocking) - return (this != prototype()); + return (!is_unlocked() || !has_no_hash()); return must_be_preserved_with_bias_for_promotion_failure(obj_containing_mark); } -// Should this header (including its age bits) be preserved in the -// case of a scavenge in which CMS is the old generation? +// Same as must_be_preserved_with_bias_for_promotion_failure() except that +// it takes a klassOop argument, instead of the object of which this is the mark word. inline bool markOopDesc::must_be_preserved_with_bias_for_cms_scavenge(klassOop klass_of_obj_containing_mark) const { assert(UseBiasedLocking, "unexpected"); // CMS scavenges preserve mark words in similar fashion to promotion failures; see above @@ -89,11 +92,14 @@ klass_of_obj_containing_mark->klass_part()->prototype_header()->has_bias_pattern()) { return true; } - return (this != prototype()); + return (!is_unlocked() || !has_no_hash()); } + +// Same as must_be_preserved_for_promotion_failure() except that +// it takes a klassOop argument, instead of the object of which this is the mark word. inline bool markOopDesc::must_be_preserved_for_cms_scavenge(klassOop klass_of_obj_containing_mark) const { if (!UseBiasedLocking) - return (this != prototype()); + return (!is_unlocked() || !has_no_hash()); return must_be_preserved_with_bias_for_cms_scavenge(klass_of_obj_containing_mark); } diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/Makefile --- a/hotspot/test/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/compiler/6431242/Test.java --- a/hotspot/test/compiler/6431242/Test.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/compiler/6431242/Test.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/compiler/6857159/Test6857159.java --- a/hotspot/test/compiler/6857159/Test6857159.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/compiler/6857159/Test6857159.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/compiler/6877254/Test.java --- a/hotspot/test/compiler/6877254/Test.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/compiler/6877254/Test.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/compiler/6895383/Test.java --- a/hotspot/test/compiler/6895383/Test.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/compiler/6895383/Test.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf hotspot/test/compiler/6896727/Test.java --- a/hotspot/test/compiler/6896727/Test.java Tue Jan 04 14:17:45 2011 -0800 +++ b/hotspot/test/compiler/6896727/Test.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jaxp/.hgtags --- a/jaxp/.hgtags Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxp/.hgtags Tue Jan 04 17:05:38 2011 -0800 @@ -97,3 +97,4 @@ 4821de0908defe647fcdaab4485f98873e24dea0 jdk7-b120 63dae40fa19fd3bf4689ea2f3c1d9d690e1abcee jdk7-b121 03ff13d19c8fa983cbab6542930a7f352e9b5b33 jdk7-b122 +e2aedea6495d61557326928de20dbb2d78fdd9aa jdk7-b123 diff -r 12cc7f77e459 -r 55a18147b4bf jaxp/build.properties --- a/jaxp/build.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxp/build.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jaxp/make/Makefile --- a/jaxp/make/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxp/make/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jaxws/.hgtags --- a/jaxws/.hgtags Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxws/.hgtags Tue Jan 04 17:05:38 2011 -0800 @@ -97,3 +97,4 @@ a4f2e1ca67163ef79555082809d7cd719893c338 jdk7-b120 0fa950117faac7bdbc94e6c46b88f6f892031c17 jdk7-b121 17b6c48a344968880925dcef1178fec282feb335 jdk7-b122 +5a8e43bcce56b7cd5576419067a929b74575ae71 jdk7-b123 diff -r 12cc7f77e459 -r 55a18147b4bf jaxws/build.properties --- a/jaxws/build.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxws/build.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jaxws/jaxws.properties --- a/jaxws/jaxws.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxws/jaxws.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jaxws/make/Makefile --- a/jaxws/make/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jaxws/make/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/README --- a/jdk/README Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/README Tue Jan 04 17:05:38 2011 -0800 @@ -9,25 +9,20 @@ http://java.sun.com/javase/downloads/index.jsp Set the environment variable ALT_BOOTDIR to the location of this JDK 6. - 2. Download and install the Binary Plugs for the most recent JDK7 from - http://download.java.net/openjdk/jdk7/ - Set the environment variable ALT_BINARY_PLUGS_PATH to the location of - these binary plugs. - - 3. Either download and install the latest JDK7 from + 2. Either download and install the latest JDK7 from http://download.java.net/openjdk/jdk7/, or build your own complete OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest. Set the environment variable ALT_JDK_IMPORT_PATH to the location of this latest JDK7 or OpenJDK7 build. - 4. Check the sanity of doing a build with the current machine: + 3. Check the sanity of doing a build with the current machine: cd make && gnumake sanity See README-builds.html if you run into problems. - 5. Do a partial build of the jdk: + 4. Do a partial build of the jdk: cd make && gnumake all - 6. Construct the images: + 5. Construct the images: cd make && gnumake images The resulting JDK image should be found in build/*/j2sdk-image diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/Makefile --- a/jdk/make/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -100,7 +100,6 @@ DEVTOOLS_PATH.desc = Directory containing zip and unzip CUPS_HEADERS_PATH.desc = Include directory location for CUPS header files DXSDK_PATH.desc = Root directory of DirectX SDK -MSDEVTOOLS_PATH.desc = Root directory of VC++ tools (e.g. rc.exe) MSVCRT_DLL_PATH.desc = Directory containing mscvrt.dll # Make variables to print out (description and value) @@ -135,12 +134,10 @@ VARIABLE_PRINTVAL_LIST += \ DXSDK_PATH \ - MSDEVTOOLS_PATH \ MSVCRT_DLL_PATH VARIABLE_CHECKDIR_LIST += \ DXSDK_PATH \ - MSDEVTOOLS_PATH \ MSVCRT_DLL_PATH endif @@ -325,11 +322,6 @@ endif # -# Binary Plug rules and macros -# -include $(BUILDDIR)/common/internal/BinaryPlugs.gmk - -# # Test rule # diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/Makefile --- a/jdk/make/com/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/Makefile --- a/jdk/make/com/sun/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/crypto/provider/Makefile --- a/jdk/make/com/sun/crypto/provider/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/crypto/provider/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/demo/Makefile --- a/jdk/make/com/sun/demo/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/demo/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/demo/jvmti/Makefile --- a/jdk/make/com/sun/demo/jvmti/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/demo/jvmti/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/java/Makefile --- a/jdk/make/com/sun/java/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/java/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/java/browser/Makefile --- a/jdk/make/com/sun/java/browser/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/java/browser/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/java/pack/Makefile --- a/jdk/make/com/sun/java/pack/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/java/pack/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/java/pack/prop/Makefile --- a/jdk/make/com/sun/java/pack/prop/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/java/pack/prop/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jmx/Makefile --- a/jdk/make/com/sun/jmx/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jmx/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -42,12 +42,8 @@ # within common included gmk files : that is why the following for loop # has been duplicated. -# When building the openjdk, build snmp only if importing binary plugs, -ifdef OPENJDK - ifeq ($(IMPORT_BINARY_PLUGS),true) - SUBDIRS = snmp - endif -else +# When building the openjdk, no snmp +ifndef OPENJDK SUBDIRS = snmp endif diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/Makefile --- a/jdk/make/com/sun/jndi/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/cosnaming/Makefile --- a/jdk/make/com/sun/jndi/cosnaming/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/cosnaming/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/dns/Makefile --- a/jdk/make/com/sun/jndi/dns/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/dns/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/ldap/Makefile --- a/jdk/make/com/sun/jndi/ldap/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/ldap/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/rmi/Makefile --- a/jdk/make/com/sun/jndi/rmi/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/rmi/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/jndi/rmi/registry/Makefile --- a/jdk/make/com/sun/jndi/rmi/registry/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/jndi/rmi/registry/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/nio/Makefile --- a/jdk/make/com/sun/nio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/nio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/nio/sctp/FILES_java.gmk --- a/jdk/make/com/sun/nio/sctp/FILES_java.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/nio/sctp/FILES_java.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/nio/sctp/Makefile --- a/jdk/make/com/sun/nio/sctp/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/nio/sctp/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/nio/sctp/mapfile-vers --- a/jdk/make/com/sun/nio/sctp/mapfile-vers Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/nio/sctp/mapfile-vers Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/org/Makefile --- a/jdk/make/com/sun/org/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/org/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/org/apache/Makefile --- a/jdk/make/com/sun/org/apache/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/org/apache/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/org/apache/xml/Makefile --- a/jdk/make/com/sun/org/apache/xml/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/org/apache/xml/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/rowset/Makefile --- a/jdk/make/com/sun/rowset/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/rowset/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/script/Makefile --- a/jdk/make/com/sun/script/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/script/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/security/Makefile --- a/jdk/make/com/sun/security/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/security/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/security/auth/module/Makefile --- a/jdk/make/com/sun/security/auth/module/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/security/auth/module/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/servicetag/Makefile --- a/jdk/make/com/sun/servicetag/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/servicetag/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,4 +1,4 @@ -# Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/tools/Makefile --- a/jdk/make/com/sun/tools/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/tools/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/tools/attach/Makefile --- a/jdk/make/com/sun/tools/attach/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/tools/attach/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/com/sun/tracing/Makefile --- a/jdk/make/com/sun/tracing/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/com/sun/tracing/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Cscope.gmk --- a/jdk/make/common/Cscope.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Cscope.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Defs-linux.gmk --- a/jdk/make/common/Defs-linux.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Defs-linux.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Defs-solaris.gmk --- a/jdk/make/common/Defs-solaris.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Defs-solaris.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Defs-windows.gmk --- a/jdk/make/common/Defs-windows.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Defs-windows.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -294,6 +294,13 @@ # Always add _STATIC_CPPLIB definition STATIC_CPPLIB_OPTION = /D _STATIC_CPPLIB + +# Silence the warning about using _STATIC_CPPLIB +ifneq ($(SHOW_ALL_WARNINGS),true) + # Needed with VS2010 to turn off the deprecated warning. + STATIC_CPPLIB_OPTION += /D _DISABLE_DEPRECATE_STATIC_CPPLIB +endif + MS_RUNTIME_OPTION += $(STATIC_CPPLIB_OPTION) ifeq ($(CC_VERSION),msvc) @@ -305,7 +312,7 @@ # -Od Turns off optimization and speeds compilation # -YX -Fp/.../foobar.pch Use precompiled headers (try someday?) # -nologo Don't print out startup message - # /D _STATIC_CPPLIB + # /D _STATIC_CPPLIB # Use static link for the C++ runtime (so msvcpnn.dll not needed) # CFLAGS_COMMON += -Zi -nologo @@ -395,12 +402,20 @@ # Treat compiler warnings as errors, if requested # CFLAGS_COMMON += -W$(COMPILER_WARNING_LEVEL) -# Turn off security warnings about using the standard C library function strcpy -CFLAGS_COMMON += -D _CRT_SECURE_NO_DEPRECATE ifeq ($(COMPILER_WARNINGS_FATAL),true) CFLAGS_COMMON += -WX endif +# Turn off some warnings by default, enable them all if asked. +ifneq ($(SHOW_ALL_WARNINGS),true) + # The -D _CRT_SECURE_NO_DEPRECATE turns off security/deprecated warnings on + # the standard C library functions like strcpy. + CFLAGS_COMMON += -D _CRT_SECURE_NO_DEPRECATE + # The -D _CRT_NONSTDC_NO_DEPRECATE turns off deprecation warnings about using + # non-standard C POSIX functions. + CFLAGS_COMMON += -D _CRT_NONSTDC_NO_DEPRECATE +endif + CPPFLAGS_OPT = -DNDEBUG CPPFLAGS_DBG = -DDEBUG -DLOGGING diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Defs.gmk --- a/jdk/make/common/Defs.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Defs.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -109,83 +109,6 @@ endif endif -# If OPENJDK is defined, we may still need to use some native libraries that -# exist only as part of the closed source. If the closed sources are not -# available, the libraries must have been pre-built. Since these libraries -# and the JDK internal interfaces to these are reasonably stable this is not -# a significant problem. But we do need to provide a way to locate them, -# including a way to point to a new one when there have been changes. -# -# If you have a formal binary plugs download, set ALT_BINARY_PLUGS_PATH -# to the location. -# (Optionally you can set ALT_CLOSED_JDK_IMPORT_PATH to point to the latest -# build JDK, or last promotion for this JDK version, but will not work -# on windows). -# -# As the OPENJDK is built, the binary plugs are used instead of building the -# libraries. -# Individual Makefiles that specify USE_BINARY_PLUG_LIBRARY, will get -# the binary plug copy (or a copy from a built JDK). -# -# See common/internal/BinaryPlugs.gmk for more information. -# -# Usage notes: -# -# ALT_BINARY_PLUGS_JARFILE is probably rarely needed. It can be used -# to identify the exact jar file to be used for all closed classes.. -# -# ALT_BINARY_PLUGS_PATH points to a directory containing precisely the -# binaries needed to build. -# -# ALT_BUILD_BINARY_PLUGS_PATH points to a directory containing binary plug dirs -# multiple architectures named using the standard conventions -# This is useful for build scripts that need to build multiple architectures -# of the OpenJDK. -# -# ALT_CLOSED_JDK_IMPORT_PATH points to the top-level of a specific platform -# JDK image. -# -# The precedence is that -# 1. ALT_BINARY_PLUGS_JARFILE overrides any other location of the classes -# 2. ALT_BINARY_PLUGS_PATH overrides all locations of classes and libraries -# 3. ALT_BUILD_BINARY_PLUGS_PATH is used to find a ALT_BINARY_PLUGS_PATH -# 4. ALT_CLOSED_JDK_IMPORT_PATH is used to locate classes and libraries -# Note: If any of the ALT_ variables are modified here, it is assumed -# that the build should be done with IMPORT_BINARY_PLUGS=true as -# well. Otherwise the default will be IMPORT_BINARY_PLUGS=false. -# Lastly, setting IMPORT_BINARY_PLUGS=false on the command line -# will override this logic, and plugs will not be imported. -# - -# Always needed, defines the name of the imported/exported jarfile -BINARY_PLUGS_JARNAME = rt-closed.jar - -ifdef OPENJDK - ifdef ALT_CLOSED_JDK_IMPORT_PATH - CLOSED_JDK_IMPORT_PATH = $(ALT_CLOSED_JDK_IMPORT_PATH) - BINARY_PLUGS_PATH = $(CLOSED_JDK_IMPORT_PATH) - BINARY_PLUGS_JARFILE = $(CLOSED_JDK_IMPORT_PATH)/jre/lib/rt.jar - IMPORT_BINARY_PLUGS=true - endif - ifdef ALT_BUILD_BINARY_PLUGS_PATH - BUILD_BINARY_PLUGS_PATH = $(ALT_BUILD_BINARY_PLUGS_PATH) - IMPORT_BINARY_PLUGS=true - else - BUILD_BINARY_PLUGS_PATH = $(SLASH_JAVA)/re/jdk/$(JDK_VERSION)/promoted/latest/openjdk/binaryplugs - endif - BINARY_PLUGS_PATH = $(BUILD_BINARY_PLUGS_PATH)/$(PLATFORM)-$(ARCH) - BINARY_PLUGS_JARFILE = $(BINARY_PLUGS_PATH)/jre/lib/$(BINARY_PLUGS_JARNAME) - ifdef ALT_BINARY_PLUGS_PATH - BINARY_PLUGS_PATH = $(ALT_BINARY_PLUGS_PATH) - BINARY_PLUGS_JARFILE = $(BINARY_PLUGS_PATH)/jre/lib/$(BINARY_PLUGS_JARNAME) - IMPORT_BINARY_PLUGS=true - endif - ifdef ALT_BINARY_PLUGS_JARFILE - BINARY_PLUGS_JARFILE = $(ALT_BINARY_PLUGS_JARFILE) - IMPORT_BINARY_PLUGS=true - endif -endif # OPENJDK - # # Get platform definitions # @@ -289,17 +212,6 @@ LDLIBS_COMMON += $(EXTRA_LIBS) -# -# Default is to build, not import native binaries -# -ifndef IMPORT_NATIVE_BINARIES - IMPORT_NATIVE_BINARIES=false -endif -# If importing libraries in, no incremental builds -ifeq ($(IMPORT_NATIVE_BINARIES),true) - INCREMENTAL_BUILD=false -endif - # for generated libraries LIBDIR = $(OUTPUTDIR)/lib ABS_LIBDIR = $(ABS_OUTPUTDIR)/lib diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Demo.gmk --- a/jdk/make/common/Demo.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Demo.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Library.gmk --- a/jdk/make/common/Library.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Library.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -77,26 +77,6 @@ LINKER=$(LINK.c) endif -# FIXUP: unpack needs the zip .o files. So we must build zip? -# or fix unpack makefile so it uses Program.gmk. -ifneq ($(IMPORT_NATIVE_BINARIES),true) - COMPILE_IT=true -else - ifeq ($(LIBRARY),zip) - COMPILE_IT=true - else - COMPILE_IT=false - endif -endif - -# If a Makefile has specified a pre-compiled closed src lib, just copy it. -ifdef USE_BINARY_PLUG_LIBRARY - COMPILE_IT=false -endif - -# We either need to import (copy) libraries in, or build them -ifeq ($(COMPILE_IT),true) - $(ACTUAL_LIBRARY):: $(INIT) $(TEMPDIR) $(LIBDIR) $(BINDIR) $(EXTDIR) classheaders # @@ -275,31 +255,6 @@ $(LINT.c) $(FILES_ln) $(LDLIBS) endif -else # COMPILE_IT - -# OpenJDK rule is first so any lib is preferentially copied from that location. -ifndef USE_BINARY_PLUG_LIBRARY - -# In this case we are just copying the file. -ifneq ($(LIBRARY), fdlibm) -# Copies in the file from the JDK_IMPORT_PATH area -$(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/% - $(install-import-file) -$(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/native_threads/% - $(install-import-file) -$(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/headless/% - $(install-import-file) -$(ACTUAL_LIBRARY_DIR)/%: $(JDK_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/xawt/% - $(install-import-file) -else # fdlibm -$(ACTUAL_LIBRARY_DIR)/%: - $(prep-target) -endif # fdlibm - -endif # USE_BINARY_PLUG_LIBRARY - -endif # COMPILE_IT - # # Class libraries with JNI native methods get a include to the package. # diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Modules.gmk --- a/jdk/make/common/Modules.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Modules.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Program.gmk --- a/jdk/make/common/Program.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Program.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -105,15 +105,6 @@ FILES_o = \ $(OBJDIR)/main.$(OBJECT_SUFFIX) -# We either need to import (copy) binaries in, or build them -ifneq ($(IMPORT_NATIVE_BINARIES),true) - COMPILE_IT=true -else - COMPILE_IT=false -endif - -ifeq ($(COMPILE_IT),true) - $(ACTUAL_PROGRAM):: classes $(INIT) # @@ -192,19 +183,6 @@ endif # PLATFORM -else # COMPILE_IT - -$(ACTUAL_PROGRAM):: - -# Copies in the file from the JDK_IMPORT_PATH area -$(ACTUAL_PROGRAM_DIR)/%: $(JDK_IMPORT_PATH)/jre/bin/% - @$(install-import-file) -$(ACTUAL_PROGRAM_DIR)/%: $(JDK_IMPORT_PATH)/bin/% - @$(install-import-file) - -endif # COMPILE_IT - - clean:: ifeq ($(PLATFORM), windows) $(RM) $(OBJDIR)/$(PROGRAM).rc diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Release.gmk --- a/jdk/make/common/Release.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Release.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -249,18 +249,8 @@ sec-files sec-files-win jgss-files :: @$(ECHO) ">>>Making "$@" @ `$(DATE)` ..." -# -# Export binary plugs if not building OPENJDK -# -ifdef OPENJDK - EXPORT_BINARY_PLUGS = -else # !OPENJDK - EXPORT_BINARY_PLUGS = export-binary-plugs test-binary-plugs -endif # OPENJDK - # Order is important here, trim jre after jdk image is created images:: sanity-images post-sanity-images \ - $(EXPORT_BINARY_PLUGS) \ $(INITIAL_IMAGE_JRE) $(INITIAL_IMAGE_JDK) \ trim-image-jre trim-image-jdk \ process-image-jre process-image-jdk sec-files sec-files-win jgss-files diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/Sanity.gmk --- a/jdk/make/common/Sanity.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/Sanity.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -85,7 +85,6 @@ sane-classpath \ sane-java_home \ sane-fonts \ - sane-binary-plugs \ sane-variant \ sane-ld_library_path \ sane-ld_library_path_64 \ diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/internal/BinaryPlugs.gmk --- a/jdk/make/common/internal/BinaryPlugs.gmk Tue Jan 04 14:17:45 2011 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,270 +0,0 @@ -# -# Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# This code is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 only, as -# published by the Free Software Foundation. Oracle designates this -# particular file as subject to the "Classpath" exception as provided -# by Oracle in the LICENSE file that accompanied this code. -# -# This code is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -# version 2 for more details (a copy is included in the LICENSE file that -# accompanied this code). -# -# You should have received a copy of the GNU General Public License version -# 2 along with this work; if not, write to the Free Software Foundation, -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -# -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -# or visit www.oracle.com if you need additional information or have any -# questions. -# - -######################################################################## - -# Definitions for openjdk plugs (used by both import and export) - -# Names of native shared libraries - -PLUG_LIBRARY_NAMES= - -# Sub-directory where native shared libraries are located (e.g. jre/bin or...) - -PLUG_LOCATION_SUBDIR=$(ARCH_VM_SUBDIR) - -# Explicit classfile lists - -# WARNING: These classlists will not work with pattern rules, only used in -# shell commands. -# The \$$ patterns will fail in pattern rules, which want $$, -# but the $$ fails in shell commands. -# The shell commands are more important. -# Also, the $1 pattern in these names causes problems with the -# GNU make define feature, so you can't use these in define's. - -PLUG_JMF_CLASS_NAMES = \ -com/sun/jmx/snmp/SnmpDataTypeEnums.class \ -com/sun/jmx/snmp/SnmpDefinitions.class \ -com/sun/jmx/snmp/SnmpOid.class \ -com/sun/jmx/snmp/SnmpOidDatabase.class \ -com/sun/jmx/snmp/SnmpOidDatabaseSupport.class \ -com/sun/jmx/snmp/SnmpOidRecord.class \ -com/sun/jmx/snmp/SnmpOidTable.class \ -com/sun/jmx/snmp/SnmpOidTableSupport.class \ -com/sun/jmx/snmp/SnmpParameters.class \ -com/sun/jmx/snmp/SnmpPduPacket.class \ -com/sun/jmx/snmp/SnmpPeer.class \ -com/sun/jmx/snmp/SnmpTimeticks.class \ -com/sun/jmx/snmp/SnmpVarBind.class \ -com/sun/jmx/snmp/SnmpVarBindList.class \ -com/sun/jmx/snmp/Timestamp.class \ -com/sun/jmx/snmp/daemon/SendQ.class \ -com/sun/jmx/snmp/daemon/SnmpInformRequest.class \ -com/sun/jmx/snmp/daemon/SnmpQManager.class \ -com/sun/jmx/snmp/daemon/SnmpRequestCounter.class \ -com/sun/jmx/snmp/daemon/SnmpResponseHandler.class \ -com/sun/jmx/snmp/daemon/SnmpSendServer.class \ -com/sun/jmx/snmp/daemon/SnmpSession.class \ -com/sun/jmx/snmp/daemon/SnmpSocket.class \ -com/sun/jmx/snmp/daemon/SnmpTimerServer.class \ -com/sun/jmx/snmp/daemon/WaitQ.class - -# Class list temp files (used by both import and export of plugs) - -PLUG_TEMPDIR=$(ABS_TEMPDIR)/plugs -PLUG_CLASS_AREAS = jmf -PLUG_CLISTS = $(PLUG_CLASS_AREAS:%=$(PLUG_TEMPDIR)/%.clist) - -# Create jargs file command - -define plug-create-jargs -@$(prep-target) -$(SED) -e "s@^@-C $(CLASSDESTDIR) @" $< > $@ -endef # plug-create-clist-jargs - -# Create clist (class name list) and jargs file (input to jar) -# Need these files to avoid long command lines which fail on some systems. - -$(PLUG_TEMPDIR)/jmf.clist: - @$(prep-target) - @for i in $(PLUG_JMF_CLASS_NAMES) ; do \ - $(ECHO) "$$i" >> $@; \ - done -$(PLUG_TEMPDIR)/all.clist: $(PLUG_CLISTS) - @$(prep-target) - $(CAT) $(PLUG_CLISTS) > $@ -$(PLUG_TEMPDIR)/jmf.jargs: $(PLUG_TEMPDIR)/jmf.clist - $(plug-create-jargs) -$(PLUG_TEMPDIR)/all.jargs: $(PLUG_TEMPDIR)/all.clist - $(plug-create-jargs) - -# -# Specific to OPENJDK import of binary plugs -# - -ifdef OPENJDK - -# Import - -PLUG_IMPORT_DIR=$(BINARY_PLUGS_PATH) -PLUG_IMPORT_JARFILE=$(BINARY_PLUGS_JARFILE) - -# Import file command - -define import-binary-plug-file -@$(ECHO) "PLUG IMPORT: $(@F)" -$(install-non-module-file) -endef # import-binary-plug-file - -# Import classes command - -define import-binary-plug-classes -@$(MKDIR) -p $(CLASSDESTDIR) -@$(CAT) $1 | $(SED) -e 's/^/PLUG IMPORT: /' -($(CD) $(CLASSDESTDIR) && $(BOOT_JAR_CMD) xf $(PLUG_IMPORT_JARFILE) @$1 $(BOOT_JAR_JFLAGS) ) -($(CD) $(CLASSDESTDIR) && $(java-vm-cleanup) ) -endef # import-binary-plug-classes - -# Import specific area classes (the classes are always created) - -import-binary-plug-jmf-classes: $(PLUG_IMPORT_JARFILE) $(PLUG_TEMPDIR)/jmf.clist - $(call import-binary-plug-classes,$(PLUG_TEMPDIR)/jmf.clist) - -# Import all classes from the jar file - -import-binary-plug-jar: \ - import-binary-plug-jmf-classes - -# Binary plug start/complete messages - -import-binary-plugs-started: - @$(ECHO) "BinaryPlugs import started: `date`" - @$(ECHO) "BINARY_PLUGS_PATH=$(BINARY_PLUGS_PATH)" -import-binary-plugs-completed: - @$(ECHO) "BinaryPlugs import completed: `date`" - -# Import lib files (only if they don't exist already) - -import-binary-plugs-libs: \ - $(PLUG_LIBRARY_NAMES:%=$(LIB_LOCATION)/%) - -# Import everything - -import-binary-plugs: \ - import-binary-plugs-started \ - import-binary-plugs-libs \ - import-binary-plug-jar \ - import-binary-plugs-completed - -# All these targets are phony (no filenames) - -.PHONY: import-binary-plugs-started \ - import-binary-plugs-completed \ - import-binary-plugs-libs \ - import-binary-plugs \ - import-binary-plug-jar \ - import-binary-plug-jmf-classes - -else # !OPENJDK - -# -# Specific to exporting binary plugs for OPENJDK (e.g. OPENJDK is NOT defined) -# - -# Export names (See make/common/Defs.gmk for BINARY_PLUGS_JARNAME definition) - -PLUG_EXPORT_DIRNAME=openjdk-binary-plugs-image -PLUG_EXPORT_DIR=$(OUTPUTDIR)/$(PLUG_EXPORT_DIRNAME) -PLUG_EXPORT_JARFILE=$(PLUG_EXPORT_DIR)/jre/lib/$(BINARY_PLUGS_JARNAME) - -# Export file command - -define export-binary-plug-file -@$(ECHO) "PLUG EXPORT: $(@F)" -$(install-non-module-file) -endef # export-binary-plug-file - -# OpenJDK Binary Plug License - -$(PLUG_EXPORT_DIR)/LICENSE: $(CLOSED_SHARE_SRC)/doc/openjdk/binary-plugs/LICENSE - $(export-binary-plug-file) -export-binary-plugs-license: $(PLUG_EXPORT_DIR)/LICENSE - -# Create jar file of plug classes (always created) - -$(PLUG_EXPORT_JARFILE): $(PLUG_TEMPDIR)/all.clist $(PLUG_TEMPDIR)/all.jargs - @$(prep-target) - @$(ECHO) "PLUG EXPORT: $(@F)" - @$(CAT) $(PLUG_TEMPDIR)/all.clist | $(SED) -e 's/^/PLUG EXPORT: /' - $(BOOT_JAR_CMD) cf $@ @$(PLUG_TEMPDIR)/all.jargs $(BOOT_JAR_JFLAGS) - @$(java-vm-cleanup) -export-binary-plugs-jar: $(PLUG_EXPORT_JARFILE) - -# Export binary plug start/complete messages - -export-binary-plugs-started: - @$(ECHO) "BinaryPlugs export started: `date`" - @$(ECHO) "PLUG_EXPORT_DIR=$(PLUG_EXPORT_DIR)" - $(RM) -r $(PLUG_EXPORT_DIR) - @$(MKDIR) -p $(PLUG_EXPORT_DIR) - @$(MKDIR) -p $(PLUG_TEMPDIR) -export-binary-plugs-completed: - @$(RM) -r $(PLUG_TEMPDIR) - @$(ECHO) "BinaryPlugs export completed: `date`" - -# Export lib files (only if they don't exist already) - -export-binary-plugs-libs: \ - $(PLUG_LIBRARY_NAMES:%=$(PLUG_EXPORT_DIR)/$(PLUG_LOCATION_SUBDIR)/%) - -# Export everything - -export-binary-plugs: \ - export-binary-plugs-started \ - export-binary-plugs-libs \ - export-binary-plugs-license \ - export-binary-plugs-jar \ - export-binary-plugs-completed - -# All these targets are phony (no filenames) - -.PHONY: export-binary-plugs-started \ - export-binary-plugs-license \ - export-binary-plugs-jar \ - export-binary-plugs-libs \ - export-binary-plugs-completed \ - export-binary-plugs - -# Rules that test the export and import of plugs (only when you can export) - -TEST_OUTPUTDIR=$(ABS_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-testing-plugs -TEST_PLUG_COPY=$(TEST_OUTPUTDIR)/$(PLUG_EXPORT_DIRNAME)-testcopy - -# Run export-binary-plugs first, then use this rule to test an import - -test-binary-plugs: $(TEST_PLUG_COPY) - $(RM) -r $(TEST_OUTPUTDIR)/$(PLUG_EXPORT_DIRNAME) - $(MKDIR) -p $(TEST_OUTPUTDIR) - @$(ECHO) "Testing import of plugs" - ($(CD) $(JDK_TOPDIR)/make && \ - $(MAKE) OPENJDK=true \ - ALT_OUTPUTDIR=$(TEST_OUTPUTDIR) \ - ALT_JDK_IMPORT_PATH=$(JDK_IMPORT_PATH) \ - ALT_BINARY_PLUGS_PATH=$(TEST_PLUG_COPY) \ - import-binary-plugs ) - $(RM) -r $(TEST_OUTPUTDIR) - @$(ECHO) "Testing of plugs was successful" - -$(TEST_PLUG_COPY): - @$(ECHO) "Creating test plug copy" - $(RM) -r $@ - $(MKDIR) -p $(@D) - $(CP) -r -p $(PLUG_EXPORT_DIR) $@ - -.PHONY: test-binary-plugs - -endif # !OPENJDK - diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/internal/Resources.gmk --- a/jdk/make/common/internal/Resources.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/internal/Resources.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Compiler-gcc.gmk --- a/jdk/make/common/shared/Compiler-gcc.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Compiler-gcc.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -36,7 +36,7 @@ CCC = $(COMPILER_PATH)g++ LIBEXE = $(COMPILER_PATH)lib LINK = $(COMPILER_PATH)link - RC = $(MSDEVTOOLS_PATH)link + RC = $(COMPILER_PATH)rc LINK32 = $(LINK) RSC = $(RC) # unset any GNU Make settings of MFLAGS and MAKEFLAGS which may mess up nmake diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Compiler-msvc.gmk --- a/jdk/make/common/shared/Compiler-msvc.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Compiler-msvc.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -34,8 +34,6 @@ CCC = $(COMPILER_PATH)cl LIBEXE = $(COMPILER_PATH)lib LINK = $(COMPILER_PATH)link - RC = $(MSDEVTOOLS_PATH)rc - RSC = $(MSDEVTOOLS_PATH)rc LINK32 = $(LINK) # Fill in unknown values @@ -47,7 +45,10 @@ # Compiler version and type (Always get word after "Version") CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}') - + + # The MSDEVTOOLS_PATH is for older compilers, place for rc, mt, etc. + _OTHER_TOOLS_PATH = $(MSDEVTOOLS_PATH) + # SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure... ifeq ($(ARCH_DATA_MODEL), 32) LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}') @@ -56,43 +57,26 @@ # This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077 COMPILER_NAME=Visual Studio .NET 2003 Professional C++ COMPILER_VERSION=VS2003 + RC = $(_OTHER_TOOLS_PATH)rc REBASE = $(COMPILER_PATH)../../Common7/Tools/Bin/rebase MTL = $(COMPILER_PATH)../../Common7/Tools/Bin/midl - ifndef COMPILER_PATH - COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) - endif endif ifeq ($(CC_MAJORVER), 14) COMPILER_NAME=Visual Studio 8 COMPILER_VERSION=VS2005 + RC = $(_OTHER_TOOLS_PATH)rc REBASE = $(COMPILER_PATH)../../Common8/Tools/Bin/rebase MTL = $(COMPILER_PATH)../../Common8/Tools/Bin/midl - MT = $(MSDEVTOOLS_PATH)/mt - ifndef COMPILER_PATH - COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) - endif + MT = $(_OTHER_TOOLS_PATH)/mt endif ifeq ($(CC_MAJORVER), 15) COMPILER_NAME=Visual Studio 9 COMPILER_VERSION=VS2008 + RC = $(_OTHER_TOOLS_PATH)rc #rebase and midl moved out of Visual Studio into the SDK: - REBASE = $(MSDEVTOOLS_PATH)/rebase - MTL = $(MSDEVTOOLS_PATH)/midl.exe - MT = $(MSDEVTOOLS_PATH)mt - ifndef COMPILER_PATH - COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) - endif - endif - ifeq ($(CC_MAJORVER), 16) - COMPILER_NAME=Visual Studio 10 - COMPILER_VERSION=VS2010 - #rebase and midl moved out of Visual Studio into the SDK: - REBASE = $(MSDEVTOOLS_PATH)/rebase - MTL = $(MSDEVTOOLS_PATH)/midl.exe - MT = $(MSDEVTOOLS_PATH)mt - ifndef COMPILER_PATH - COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) - endif + REBASE = $(_OTHER_TOOLS_PATH)/rebase + MTL = $(_OTHER_TOOLS_PATH)/midl.exe + MT = $(_OTHER_TOOLS_PATH)mt endif else # else ARCH_DATA_MODEL is 64 @@ -105,13 +89,15 @@ # This should be: CC_VER=13.00.9337.7 LINK_VER=7.00.9337.7 COMPILER_NAME=Microsoft Platform SDK - November 2001 Edition COMPILER_VERSION=VS2003 + RC = $(_OTHER_TOOLS_PATH)rc endif endif ifeq ($(CC_MAJORVER), 14) ifeq ($(ARCH), amd64) #rebase and midl moved out of Visual Studio into the SDK: - REBASE = $(MSDEVTOOLS_PATH)/rebase - MTL = $(MSDEVTOOLS_PATH)/midl.exe + RC = $(_OTHER_TOOLS_PATH)/rc + REBASE = $(_OTHER_TOOLS_PATH)/rebase + MTL = $(_OTHER_TOOLS_PATH)/midl.exe ifeq ($(CC_MICROVER), 30701) # This should be: CC_VER=14.00.30701 LINK_VER=8.00.30701 # WARNING: it says 14, but it is such an early build it doesn't @@ -135,24 +121,42 @@ MT = $(MSSDK61)/Bin/X64/mt.exe MTL = $(MSSDK61)/Bin/X64/midl.exe endif - ifeq ($(CC_MAJORVER), 16) - COMPILER_NAME=Microsoft Visual Studio 10 (16.00.30319.01) - COMPILER_VERSION=VS2010 - RC = $(MSDEVTOOLS_PATH)/Bin/x64/rc.exe - RSC = $(MSDEVTOOLS_PATH)/Bin/x64/rc.exe - MT = $(MSDEVTOOLS_PATH)/Bin/x64/mt.exe - MTL = $(MSDEVTOOLS_PATH)/Bin/X64/midl.exe + endif + + # The VS2010 compiler is the same one used on both 32bit and 64bit + ifeq ($(CC_MAJORVER), 16) + COMPILER_NAME=Microsoft Visual Studio 10 (16.00.30319.01) + COMPILER_VERSION=VS2010 + ifeq ($(WINDOWSSDKDIR),) + WINDOWSSDKDIR := $(error WINDOWSSDKDIR cannot be empty here) endif - # This will cause problems if ALT_COMPILER_PATH is defined to "" - # which is a directive to use the PATH. - ifndef COMPILER_PATH - COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) + ifeq ($(ARCH_DATA_MODEL), 32) + _OTHER_TOOLS_BIN = $(WINDOWSSDKDIR)/Bin + else + ifeq ($(ARCH), ia64) + _OTHER_TOOLS_BIN = $(WINDOWSSDKDIR)/Bin/ia64 + else + _OTHER_TOOLS_BIN = $(WINDOWSSDKDIR)/Bin/x64 + endif endif + RC = $(_OTHER_TOOLS_BIN)/rc.exe + REBASE = $(_OTHER_TOOLS_BIN)/rebase.exe + MT = $(_OTHER_TOOLS_BIN)/mt.exe + MTL = $(_OTHER_TOOLS_BIN)/midl.exe + endif + + # These variables can never be empty + ifndef COMPILER_PATH + COMPILER_PATH := $(error COMPILER_PATH cannot be empty here) endif ifndef COMPILER_VERSION COMPILER_VERSION := $(error COMPILER_VERSION cannot be empty here) endif + # Shared library generation flag SHARED_LIBRARY_FLAG = -LD + # RSC is always same as RC (Not sure who uses this RSC variable) + RSC = $(RC) + endif diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Compiler-sun.gmk --- a/jdk/make/common/shared/Compiler-sun.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Compiler-sun.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-control.gmk --- a/jdk/make/common/shared/Defs-control.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-control.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-java.gmk --- a/jdk/make/common/shared/Defs-java.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-java.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-linux.gmk --- a/jdk/make/common/shared/Defs-linux.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-linux.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-solaris.gmk --- a/jdk/make/common/shared/Defs-solaris.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-solaris.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -91,7 +91,6 @@ ifneq "$(origin ALT_COMPILER_PATH)" "undefined" COMPILER_PATH :=$(call PrefixPath,$(ALT_COMPILER_PATH)) else - # Careful here, REQUIRED_COMPILER_VERSION may not be defined yet (see Defs-versions.gmk) # If the place where we keep a set of Sun Studio compilers doesn't exist, # try and use /opt/SUNWspro, the default location for the SS compilers. # (DirExists checks for this path twice, an automount double check) diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-utils.gmk --- a/jdk/make/common/shared/Defs-utils.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-utils.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-versions.gmk --- a/jdk/make/common/shared/Defs-versions.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-versions.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -27,7 +27,22 @@ # WARNING: This file is shared with other workspaces. # -# This file needs these set: CC_VERSION, PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL. +# This file needs these set: PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL. + +# Windows uses Microsoft compilers by default +ifeq ($(PLATFORM), windows) + override CC_VERSION = msvc +endif + +# Solaris uses Sun Studio compilers by default +ifeq ($(PLATFORM), solaris) + override CC_VERSION = sun +endif + +# Linux uses GNU compilers by default +ifeq ($(PLATFORM), linux) + override CC_VERSION = gcc +endif ########################################################################## # diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs-windows.gmk --- a/jdk/make/common/shared/Defs-windows.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs-windows.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -34,12 +34,17 @@ # Program.gmk may turn this down to 2 (building .exe's). # Windows 64bit platforms are less likely to be warning free. # Historically, Windows 32bit builds should be mostly warning free. +# VS2010 introduced a large number of security warnings that are off by +# default but will be turned back on with SHOW_ALL_WARNINGS=true. ifndef COMPILER_WARNING_LEVEL COMPILER_WARNING_LEVEL=3 endif ifndef COMPILER_WARNINGS_FATAL COMPILER_WARNINGS_FATAL=false endif +ifndef SHOW_ALL_WARNINGS + SHOW_ALL_WARNINGS = false +endif # Windows should use parallel compilation for best build times ifndef COMPILE_APPROACH @@ -80,13 +85,20 @@ # their own variable assigned with :=, then use FullPath. # +ifdef USING_CYGWIN +# All possible drive letters +drives=a b c d e f g h i j k l m n o p q r s t v u w x y z +# Convert /cygdrive/ paths to the mixed style without an exec of cygpath +# Must be a path with no spaces. +define MixedPath +$(patsubst /%,c:/cygwin/%,$(sort $(filter-out /cygdrive/%,$(foreach drive,$(drives),$(patsubst /cygdrive/$(drive)/%,$(drive):/%,$1))))) +endef # Use FullPath to get C:/ style non-spaces path. Never ends with a /! -ifdef USING_CYGWIN # We assume cygpath is available in the search path # NOTE: Use of 'pwd' with CYGWIN will not get you a mixed style path! CYGPATH_CMD=cygpath -a -s -m define FullPath -$(shell $(CYGPATH_CMD) $1 2> $(DEV_NULL)) +$(if $(word 2,$1),$(shell $(CYGPATH_CMD) $1 2> $(DEV_NULL)),$(call MixedPath,$(realpath $(subst ",,$1)))) endef define OptFullPath $(shell if [ "$1" != "" -a -d "$1" ]; then $(CYGPATH_CMD) "$1" 2> $(DEV_NULL); else echo "$1"; fi) @@ -228,29 +240,125 @@ _dx_sdk_dir :=$(call FullPath,$(xDXSDK_DIR)) endif -# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit] -ifeq ($(ARCH_DATA_MODEL), 32) - # Try looking in MSVCDIR or MSVCDir area first - # (set by vcvars32.bat for VC .NET, not defined in the VC 2008/2010) - ifdef MSVCDIR - xMSVCDIR :="$(subst \,/,$(MSVCDIR))" - _msvc_dir :=$(call FullPath,$(xMSVCDIR)) +# Use of the Visual Studio compilers requires certain env variables be set: +# PATH should include the path to cl.exe +# INCLUDE should be defined +# LIB should be defined +# LIBPATH should be defined +# VS100COMNTOOLS should be defined +# WINDOWSSDKDIR should be defined +# The 7.0a path is from VS2010 Pro, the 7.1 path is the standalone SDK. +# For 64bit either will work for us. +# If a developer chooses to install the standalone SDK in some other +# location, then they need to set WINDOWSSDKDIR. +# +# Compilers for 64bit may be from the free SDK, or Visual Studio Professional. +# The free Express compilers don't contain 64 bit compilers, which is why +# you instead need the SDK. +# Release enginering will use VS2010 Pro, so the frequency of testing of +# SDK based builds will depend entirely on individual usage. + +# We only need to do this once +ifndef VS2010_EXISTS + # The 2 key paths we need are WINDOWSSDKDIR and VS100COMNTOOLS. + # If not defined try to see if default location exists. + # If defined make sure that the path has no spaces. + # Finally, export path with no spaces so logic minimizes FullPath calls. + ifndef WINDOWSSDKDIR + # The 7.0a SDK is the second choice. + xWINDOWSSDKDIR :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/" + fWINDOWSSDKDIR :=$(call FullPath,$(xWINDOWSSDKDIR)) + # The 7.1 SDK is the second choice. + ifeq ($(fWINDOWSSDKDIR),) + xWINDOWSSDKDIR :="$(_program_files32)/Microsoft SDKs/Windows/v7.1/" + fWINDOWSSDKDIR :=$(call FullPath,$(xWINDOWSSDKDIR)) + endif else - ifdef MSVCDir - xMSVCDIR :="$(subst \,/,$(MSVCDir))" - _msvc_dir :=$(call FullPath,$(xMSVCDIR)) + ifneq ($(word 2,$(WINDOWSSDKDIR)),) + xWINDOWSSDKDIR :="$(subst \,/,$(WINDOWSSDKDIR))" + fWINDOWSSDKDIR :=$(call FullPath,$(xWINDOWSSDKDIR)) + else + fWINDOWSSDKDIR :=$(WINDOWSSDKDIR) + endif + endif + ifneq ($(fWINDOWSSDKDIR),) + WINDOWSSDKDIR :=$(fWINDOWSSDKDIR)/ + endif + ifndef VS100COMNTOOLS + xVS100COMNTOOLS :="$(_program_files32)/Microsoft Visual Studio 10.0/Common7/Tools/" + fVS100COMNTOOLS :=$(call FullPath,$(xVS100COMNTOOLS)) + else + ifneq ($(word 2,$(VS100COMNTOOLS)),) + xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))" + fVS100COMNTOOLS :=$(call FullPath,$(xVS100COMNTOOLS)) + else + fVS100COMNTOOLS :=$(xVS100COMNTOOLS) endif endif - # If we still don't have it, look for VSnnCOMNTOOLS (newest first), - # set by installer? - ifeq ($(_msvc_dir),) - ifdef VS100COMNTOOLS # /Common/Tools directory, use ../../Vc - xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))" - _vs100tools :=$(call FullPath,$(xVS100COMNTOOLS)) + ifneq ($(fVS100COMNTOOLS),) + VS100COMNTOOLS :=$(fVS100COMNTOOLS)/ + endif + # Check to see that both exist + ifeq ($(WINDOWSSDKDIR),) + _vs2010_message := No WINDOWSSDKDIR found on system. $(_vs2010_message) + VS2010_EXISTS := false + endif + ifeq ($(VS100COMNTOOLS),) + _vs2010_message := No VS100COMNTOOLS found on system. $(_vs2010_message) + VS2010_EXISTS := false + endif + ifeq ($(VS2010_EXISTS),false) + x:=$(warning WARNING: No VS2010 available. $(_vs2010_message)) + VS100COMNTOOLS := + WINDOWSSDKDIR := + else + VS2010_EXISTS := true + _msvc_dir :=$(VS100COMNTOOLS)/../../Vc + endif + export VS2010_EXISTS + export VS100COMNTOOLS + export WINDOWSSDKDIR +endif + +# Setup for VS2010 is simple, others logic is historic +ifeq ($(VS2010_EXISTS),true) + + # VS2010 Compiler root directory + _msvc_dir :=$(VS100COMNTOOLS)/../../Vc + # SDK root directory + _ms_sdk :=$(WINDOWSSDKDIR) + # Compiler bin directory and redist directory + ifeq ($(ARCH_DATA_MODEL), 32) + _compiler_bin :=$(_msvc_dir)/Bin + _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC100.CRT) + endif + ifeq ($(ARCH_DATA_MODEL), 64) + _compiler_bin :=$(_msvc_dir)/bin/amd64 + _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x64/Microsoft.VC100.CRT) + endif + ifeq ($(_redist_sdk),) + _redist_sdk :=$(_system_root)/system32 + endif + +else # Not VS2010 + + # Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit] + ifeq ($(ARCH_DATA_MODEL), 32) + + # Try looking in MSVCDIR or MSVCDir area first + # (set by vcvars32.bat for VC .NET, not defined in the VC 2008/2010) + ifdef MSVCDIR + xMSVCDIR :="$(subst \,/,$(MSVCDIR))" + _msvc_dir :=$(call FullPath,$(xMSVCDIR)) + else + ifdef MSVCDir + xMSVCDIR :="$(subst \,/,$(MSVCDir))" + _msvc_dir :=$(call FullPath,$(xMSVCDIR)) + endif endif - ifneq ($(_vs100tools),) - _msvc_dir :=$(_vs100tools)/../../Vc - else + # If we still don't have it, look for VSnnCOMNTOOLS (newest first), + # set by installer? + ifeq ($(_msvc_dir),) ifdef VS90COMNTOOLS # /Common/Tools directory, use ../../Vc xVS90COMNTOOLS :="$(subst \,/,$(VS90COMNTOOLS))" _vs90tools :=$(call FullPath,$(xVS90COMNTOOLS)) @@ -275,46 +383,38 @@ endif endif endif - endif - ifneq ($(_msvc_dir),) - _compiler_bin :=$(_msvc_dir)/Bin - # Assume PlatformSDK is in VS71 (will be empty if VS90) - _ms_sdk :=$(call FullPath,$(_msvc_dir)/PlatformSDK) - # Assume VS100, then VS90, then VS80, then VS71 - _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC100.CRT) - ifeq ($(_redist_sdk),) - ifneq ($(VS100COMNTOOLS),) - _redist_sdk :=c:/windows/system32 - else - _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT) + + ifneq ($(_msvc_dir),) + _compiler_bin :=$(_msvc_dir)/Bin + # Assume PlatformSDK is in VS71 (will be empty if VS90) + _ms_sdk :=$(call FullPath,$(_msvc_dir)/PlatformSDK) + _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT) + ifeq ($(_redist_sdk),) + _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT) ifeq ($(_redist_sdk),) - _redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT) - ifeq ($(_redist_sdk),) - _redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin) - endif + _redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin) endif endif endif endif -endif -# The Microsoft Platform SDK installed by itself -ifneq ($(_program_files),) - _PSDK :="$(_program_files)/Microsoft SDKs/Windows/v6.1/" - _psdk :=$(call FullPath,$(xMSSDK61)) - ifeq ($(_psdk),) - xPSDK :="$(_program_files)/Microsoft Platform SDK" - _psdk :=$(call FullPath,$(xPSDK)) + # The Microsoft Platform SDK installed by itself + ifneq ($(_program_files),) + _PSDK :="$(_program_files)/Microsoft SDKs/Windows/v6.1/" + _psdk :=$(call FullPath,$(xMSSDK61)) ifeq ($(_psdk),) - xPSDK :="$(_program_files)/Microsoft SDK" - _psdk :=$(call FullPath,$(xMSSDK)) + xPSDK :="$(_program_files)/Microsoft Platform SDK" + _psdk :=$(call FullPath,$(xPSDK)) + ifeq ($(_psdk),) + xPSDK :="$(_program_files)/Microsoft SDK" + _psdk :=$(call FullPath,$(xMSSDK)) + endif endif endif -endif -# If no SDK found yet, look in other places -ifeq ($(_ms_sdk),) - ifdef MSSDK + # If no SDK found yet, look in other places + ifeq ($(_ms_sdk),) + ifdef MSSDK xMSSDK :="$(subst \,/,$(MSSDK))" _ms_sdk :=$(call FullPath,$(xMSSDK)) else @@ -322,56 +422,13 @@ xMSSDK :="$(subst \,/,$(MSSdk))" _ms_sdk :=$(call FullPath,$(xMSSDK)) else - _ms_sdk :=$(_psdk) + _ms_sdk :=$(_psdk) + endif endif endif -endif - -# Compilers for 64bit may be from the free SDK, or Visual Studio Professional -# The free Express compilers don't contain 64 bit compilers, which is why -# you instead need the SDK. -# So for VS2010 based builds, either VS2010 Pro with the 7.0a SDK, or -# the Windows 7.1 standalone SDK with compilers may be used. -# Release enginering will use VS2010 Pro, so the frequency of testing of -# SDK based builds will depend entirely on individual usage. -ifeq ($(ARCH_DATA_MODEL), 64) - ifdef VS100COMNTOOLS # /Common7/Tools directory, use ../../Vc - # VS2010 default location is used when building 64 bit using the 7.1 SDK - # This is safe to hardwire as the SDK installer won't let you change it - # and the VS2010 variable is only used if the compilers are from the SDK - xVS2010 :="$(_program_files32)/Microsoft Visual Studio 10.0/" - VS2010 :=$(call FullPath,$(xVS2010)) - xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))" - _vs100tools :=$(call FullPath,$(xVS100COMNTOOLS)) - endif - ifneq ($(_vs100tools),) - _compiler_bin :=$(_vs100tools)/../../Vc/bin/amd64 - x_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT - _redist_sdk :=$(call FullPath,$(x_redist_sdk)) - # The SDK doesn't have the redist directory, but the DLL is installed - # into the windows directory. - ifeq ($(_redist_sdk),) - _redist_sdk :=c:/windows/system32 - endif - # Not currently using MSSDK7n, but maybe we can make use of it for - # doing default location lookup to find some SDK tools that presently - # require the developer to explicitly set the path. - # The 7.0a path is from VS2010 Pro, the 7.1 path is the standalone SDK. - # Either will work for us. - # If a developer chooses to install the standalone SDK in some other - # location, then this will fail to find it, which won't matter so long as - # we aren't using this variable. If we do they'd still need to set the - # ALT_MSDEVTOOLS_PATH as now. - # %WindowsSdkDir% could be referenced instead but the SDK installer - # doesn't set it and in the case of the VS2010 compilers, - # you can't change this location in the installer anyway. - xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/" - MSSDK7n :=$(call FullPath,$(xMSSDK7n)) - ifeq ($(MSSDK7n),) - xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.1/" - MSSDK7n :=$(call FullPath,$(xMSSDK7n)) - endif - else + + # Compilers for 64bit may be from the free SDK, or Visual Studio Professional. + ifeq ($(ARCH_DATA_MODEL), 64) xVS2008 :="$(_program_files32)/Microsoft Visual Studio 9.0/" VS2008 :=$(call FullPath,$(xVS2008)) ifneq ($(VS2008),) @@ -391,7 +448,8 @@ endif endif endif -endif + +endif # VS2010_EXISTS # Location on system where jdk installs might be ifneq ($(_program_files),) @@ -509,7 +567,7 @@ ifeq ($(ARCH_DATA_MODEL), 32) _NEEDS_MSVCRNN = true else - ifneq ($(VS2010),) + ifeq ($(VS2010_EXISTS),true) _NEEDS_MSVCRNN = true else ifneq ($(VS2008),) diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Defs.gmk --- a/jdk/make/common/shared/Defs.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Defs.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -373,6 +373,9 @@ # Get platform specific settings # NB: OUTPUTDIR must be defined. Otherwise hotspot import detection will not work correctly # On other hand this must be included early as it provides platform specific defines such as FullPath +include $(JDK_MAKE_SHARED_DIR)/Defs-versions.gmk + +# Get platform specific settings (defines COMPILER_PATH) include $(JDK_MAKE_SHARED_DIR)/Defs-$(PLATFORM).gmk # Components @@ -608,24 +611,9 @@ COPYRIGHT_YEAR = $(shell $(DATE) '+%Y') endif -# Windows uses Microsoft compilers by default -ifeq ($(PLATFORM), windows) - override CC_VERSION = msvc -endif - -# Solaris uses Sun Studio compilers by default -ifeq ($(PLATFORM), solaris) - override CC_VERSION = sun -endif - -# Linux uses GNU compilers by default -ifeq ($(PLATFORM), linux) - override CC_VERSION = gcc -endif - -# Get the REQUIRED versions (needs CC_VERSION set) -include $(JDK_MAKE_SHARED_DIR)/Defs-versions.gmk - -# Get the compiler specific settings +# Get the compiler specific settings (will run the compiler to find out) +# NOTE: COMPILER_PATH must be set by this time. +# Up until we include this file, we don't know what specific compiler +# version is actually being used (i.e. what is in PATH or COMPILER_PATH). include $(JDK_MAKE_SHARED_DIR)/Compiler-$(CC_VERSION).gmk diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Sanity-Settings.gmk --- a/jdk/make/common/shared/Sanity-Settings.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Sanity-Settings.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -100,7 +100,8 @@ ifneq ($(MSVCRNN_DLL),) ALL_SETTINGS+=$(call addAltSetting,MSVCRNN_DLL_PATH) endif - ALL_SETTINGS+=$(call addAltSetting,MSDEVTOOLS_PATH) + ALL_SETTINGS+=$(call addRequiredSetting,INCLUDE) + ALL_SETTINGS+=$(call addRequiredSetting,LIB) endif ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_NAME) ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_VERSION) @@ -137,6 +138,7 @@ ALL_SETTINGS+=$(call addOptionalSetting,FASTDEBUG) ALL_SETTINGS+=$(call addRequiredSetting,COMPILER_WARNINGS_FATAL) ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_WARNING_LEVEL) +ALL_SETTINGS+=$(call addOptionalSetting,SHOW_ALL_WARNINGS) ALL_SETTINGS+=$(call addRequiredSetting,INCREMENTAL_BUILD) ALL_SETTINGS+=$(call addOptionalSetting,CC_HIGHEST_OPT) ALL_SETTINGS+=$(call addOptionalSetting,CC_HIGHER_OPT) @@ -223,6 +225,7 @@ ALL_SETTINGS+=$(call addAltSetting,DXSDK_PATH) ALL_SETTINGS+=$(call addAltSetting,DXSDK_INCLUDE_PATH) ALL_SETTINGS+=$(call addAltSetting,DXSDK_LIB_PATH) + ALL_SETTINGS+=$(call addAltSetting,WINDOWSSDKDIR) ifndef OPENJDK ALL_SETTINGS+=$(call addAltSetting,DEPLOY_MSSDK) ALL_SETTINGS+=$(call addAltSetting,INSTALL_MSSDK) @@ -244,16 +247,7 @@ ALL_SETTINGS+=$(call addHeading,OpenJDK-specific settings) ALL_SETTINGS+=$(call addAltSetting,FREETYPE_HEADERS_PATH) ALL_SETTINGS+=$(call addAltSetting,FREETYPE_LIB_PATH) - ALL_SETTINGS+=$(call addHeading,OPENJDK Import Binary Plug Settings) - ALL_SETTINGS+=$(call addOptionalSetting,IMPORT_BINARY_PLUGS) - ALL_SETTINGS+=$(call addAltSetting,BINARY_PLUGS_JARFILE) - ALL_SETTINGS+=$(call addAltSetting,BINARY_PLUGS_PATH) - ALL_SETTINGS+=$(call addAltSetting,BUILD_BINARY_PLUGS_PATH) -else - ALL_SETTINGS+=$(call addHeading,OPENJDK Export Binary Plug Settings) - ALL_SETTINGS+=$(call addOptionalSetting,PLUG_EXPORT_DIRNAME) endif -ALL_SETTINGS+=$(call addOptionalSetting,PLUG_LIBRARY_NAMES) ifdef OPENJDK ALL_SETTINGS+=$(call addHeading,Previous JDK Settings) diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/common/shared/Sanity.gmk --- a/jdk/make/common/shared/Sanity.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/common/shared/Sanity.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -187,7 +187,6 @@ sane-classpath \ sane-java_home \ sane-fonts \ - sane-binary-plugs \ sane-variant \ sane-ld_library_path \ sane-ld_library_path_64 \ @@ -503,23 +502,6 @@ endif ###################################################### -# If building OPENJDK check pre-built binaries are -# available for binary plug source components. -###################################################### -ifdef OPENJDK -sane-binary-plugs: - ifeq ($(IMPORT_BINARY_PLUGS),true) - @if [ ! -d "$(BINARY_PLUGS_PATH)" ]; then \ - $(ECHO) "WARNING: Can't locate pre-built libraries. \n" \ - " Please check your access to \n" \ - " $(BINARY_PLUGS_PATH) \n" \ - " and/or check your value of ALT_BINARY_PLUGS_PATH. \n" \ - "" >> $(WARNING_FILE); \ - fi - endif -endif - -###################################################### # VARIANT must be set to DBG or OPT ###################################################### sane-variant: @@ -1024,10 +1006,11 @@ endif ###################################################### -# Check for existence of MSDEVTOOLS_PATH on windows +# Check for existence of the extra tools on windows ###################################################### sane-msdevtools_path: ifeq ($(PLATFORM), windows) + ifneq ($(COMPILER_VERSION), VS2010) @if [ "$(MSDEVTOOLS_PATH)" != "" -a ! -r "$(MSDEVTOOLS_PATH)" ]; then \ $(ECHO) "ERROR: You do not have a valid MSDEVTOOLS_PATH setting. \n" \ " Please check your access to \n" \ @@ -1035,6 +1018,7 @@ " and/or check your value of ALT_MSDEVTOOLS_PATH. \n" \ "" >> $(ERROR_FILE) ; \ fi + endif endif ###################################################### @@ -1443,10 +1427,24 @@ endif ###################################################### -# Check for existence of INSTALL_MSSDK on windows +# Check for existence of the MSSDK on windows ###################################################### sane-install-mssdk_path: ifeq ($(PLATFORM), windows) + ifeq ($(COMPILER_VERSION), VS2010) + @if [ -z "$(WINDOWSSDKDIR)" ]; then \ + $(ECHO) "WARNING: Your WINDOWSSDKDIR setting is empty.\n" \ + " It is recommended to set ALT_WINDOWSSDKDIR.\n" \ + "" >> $(WARNING_FILE) ; \ + fi + @if [ ! -r "$(WINDOWSSDKDIR)" ]; then \ + $(ECHO) "ERROR: You do not have a valid WINDOWSSDKDIR setting. \n" \ + " Please check your access to \n" \ + " $(WINDOWSSDKDIR) \n" \ + " and/or check your value of ALT_WINDOWSSDKDIR. \n" \ + "" >> $(ERROR_FILE) ; \ + fi + endif @if [ -z "$(INSTALL_MSSDK)" ]; then \ $(ECHO) "WARNING: Your INSTALL_MSSDK setting is empty.\n" \ " It is recommended to set ALT_INSTALL_MSSDK.\n" \ diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/docs/CORE_PKGS.gmk --- a/jdk/make/docs/CORE_PKGS.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/docs/CORE_PKGS.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/docs/NON_CORE_PKGS.gmk --- a/jdk/make/docs/NON_CORE_PKGS.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/docs/NON_CORE_PKGS.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/Makefile --- a/jdk/make/java/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/awt/Makefile --- a/jdk/make/java/awt/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/awt/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/dyn/Makefile --- a/jdk/make/java/dyn/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/dyn/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/fdlibm/Makefile --- a/jdk/make/java/fdlibm/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/fdlibm/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/hpi/Makefile --- a/jdk/make/java/hpi/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/hpi/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/hpi/hpi_common.gmk --- a/jdk/make/java/hpi/hpi_common.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/hpi/hpi_common.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2002, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/hpi/native/Makefile --- a/jdk/make/java/hpi/native/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/hpi/native/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/hpi/windows/Makefile --- a/jdk/make/java/hpi/windows/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/hpi/windows/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/instrument/Makefile --- a/jdk/make/java/instrument/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/instrument/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/java/Makefile --- a/jdk/make/java/java/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/java/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/java/genlocales.gmk --- a/jdk/make/java/java/genlocales.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/java/genlocales.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/java_crw_demo/Makefile --- a/jdk/make/java/java_crw_demo/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/java_crw_demo/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/java_hprof_demo/Makefile --- a/jdk/make/java/java_hprof_demo/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/java_hprof_demo/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/jli/Makefile --- a/jdk/make/java/jli/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/jli/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/logging/Makefile --- a/jdk/make/java/logging/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/logging/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/main/Makefile --- a/jdk/make/java/main/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/main/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/main/java/Makefile --- a/jdk/make/java/main/java/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/main/java/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/main/javaw/Makefile --- a/jdk/make/java/main/javaw/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/main/javaw/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/management/Makefile --- a/jdk/make/java/management/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/management/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/net/FILES_c.gmk --- a/jdk/make/java/net/FILES_c.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/net/FILES_c.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1996, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/net/Makefile --- a/jdk/make/java/net/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/net/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/net/mapfile-vers --- a/jdk/make/java/net/mapfile-vers Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/net/mapfile-vers Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/nio/FILES_java.gmk --- a/jdk/make/java/nio/FILES_java.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/nio/FILES_java.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/nio/Makefile --- a/jdk/make/java/nio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/nio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/nio/mapfile-linux --- a/jdk/make/java/nio/mapfile-linux Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/nio/mapfile-linux Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/nio/mapfile-solaris --- a/jdk/make/java/nio/mapfile-solaris Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/nio/mapfile-solaris Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/npt/Makefile --- a/jdk/make/java/npt/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/npt/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/redist/Makefile --- a/jdk/make/java/redist/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/redist/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -272,17 +272,9 @@ $(install-file) # -# Specific to OpenJDK building +# Specific to non-OpenJDK building # -ifdef OPENJDK - - ifeq ($(IMPORT_BINARY_PLUGS),true) - include $(BUILDDIR)/common/internal/BinaryPlugs.gmk - - build: import-binary-plugs - endif - -else # !OPENJDK +ifndef OPENJDK INTERNAL_IMPORT_LIST += \ $(LIBDIR)/security/US_export_policy.jar \ diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/redist/fonts/Makefile --- a/jdk/make/java/redist/fonts/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/redist/fonts/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/redist/sajdi/Makefile --- a/jdk/make/java/redist/sajdi/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/redist/sajdi/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/sql/Makefile --- a/jdk/make/java/sql/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/sql/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/sun_nio/Makefile --- a/jdk/make/java/sun_nio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/sun_nio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/text/base/Makefile --- a/jdk/make/java/text/base/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/text/base/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/util/FILES_java.gmk --- a/jdk/make/java/util/FILES_java.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/util/FILES_java.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/verify/Makefile --- a/jdk/make/java/verify/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/verify/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/java/zip/Makefile --- a/jdk/make/java/zip/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/java/zip/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/Makefile --- a/jdk/make/javax/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/crypto/Makefile --- a/jdk/make/javax/crypto/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/crypto/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/imageio/Makefile --- a/jdk/make/javax/imageio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/imageio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/print/Makefile --- a/jdk/make/javax/print/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/print/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/rmi/Makefile --- a/jdk/make/javax/rmi/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/rmi/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/sound/Makefile --- a/jdk/make/javax/sound/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/sound/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -23,8 +23,6 @@ # questions. # -# WARNING: Make sure the OPENJDK plugs are up-to-date, see make/common/internal/BinaryPlugs.gmk - BUILDDIR = ../.. MODULE = sound PACKAGE = javax.sound diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/sound/jsoundalsa/Makefile --- a/jdk/make/javax/sound/jsoundalsa/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/sound/jsoundalsa/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/sound/jsoundds/Makefile --- a/jdk/make/javax/sound/jsoundds/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/sound/jsoundds/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/sql/Makefile --- a/jdk/make/javax/sql/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/sql/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/swing/FILES.gmk --- a/jdk/make/javax/swing/FILES.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/swing/FILES.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/swing/Makefile --- a/jdk/make/javax/swing/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/swing/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/swing/beaninfo/SwingBeans.gmk --- a/jdk/make/javax/swing/beaninfo/SwingBeans.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/swing/beaninfo/SwingBeans.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/javax/swing/plaf/Makefile --- a/jdk/make/javax/swing/plaf/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/javax/swing/plaf/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jdk_generic_profile.sh --- a/jdk/make/jdk_generic_profile.sh Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jdk_generic_profile.sh Tue Jan 04 17:05:38 2011 -0800 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -78,11 +78,8 @@ # Attempts to set these variables for the JDK builds: # ALT_COMPILER_PATH # ALT_BOOTDIR -# ALT_BINARY_PLUGS_PATH -# ALT_CLOSED_JDK_IMPORT_PATH # Windows Only: # ALT_UNIXCOMMAND_PATH -# ALT_MSDEVTOOLS_PATH # ALT_DXSDK_PATH # ALT_MSVCRT_DLL_PATH # ALT_MSVCR71_DLL_PATH @@ -221,8 +218,6 @@ # VisualStudio .NET 2003 VC++ 7.1 (VS71COMNTOOLS should be defined) vs_root=$(${cygpath} "${VS71COMNTOOLS}/../..") # Fill in PATH, LIB, and INCLUDE (unset all others to make sure) - msdev_root="${vs_root}/Common7/Tools" - msdevtools_path="${msdev_root}/bin" vc7_root="${vs_root}/Vc7" compiler_path="${vc7_root}/bin" platform_sdk="${vc7_root}/PlatformSDK" @@ -260,12 +255,6 @@ else compiler_path="${platform_sdk}/Bin/win64/x86/AMD64" fi - if [ "${ALT_MSDEVTOOLS_PATH}" != "" ] ; then - msdevtools_path=${ALT_MSDEVTOOLS_PATH} - else - msdevtools_path="${platform_sdk}/Bin/win64/x86/AMD64" - fi - msdevtools_path="${compiler_path}" # LIB and INCLUDE must use ; as a separator include4sdk="${platform_sdk}/Include" include4sdk="${include4sdk};${platform_sdk}/Include/crt/sys" @@ -313,28 +302,6 @@ export ALT_JDK_IMPORT_PATH fi -# Get the latest JDK binary plugs or build to import pre-built binaries -if [ "${ALT_BINARY_PLUGS_PATH}" = "" ] ; then - binplugs=${jdk_instances}/openjdk-binary-plugs - jdkplugs=${jdk_instances}/${importjdk} - if [ -d ${binplugs} ] ; then - ALT_BINARY_PLUGS_PATH=${binplugs} - export ALT_BINARY_PLUGS_PATH - elif [ "${ALT_CLOSED_JDK_IMPORT_PATH}" = "" -a -d ${jdkplugs} ] ; then - ALT_CLOSED_JDK_IMPORT_PATH=${jdkplugs} - export ALT_CLOSED_JDK_IMPORT_PATH - fi - if [ "${ALT_BINARY_PLUGS_PATH}" = "" ] ; then - echo "WARNING: Missing ALT_BINARY_PLUGS_PATH: ${binplugs}" - fi -fi -if [ "${ALT_BINARY_PLUGS_PATH}" != "" -a ! -d "${ALT_BINARY_PLUGS_PATH}" ] ; then - echo "WARNING: Cannot access ALT_BINARY_PLUGS_PATH=${ALT_BINARY_PLUGS_PATH}" -fi -if [ "${ALT_CLOSED_JDK_IMPORT_PATH}" != "" -a ! -d "${ALT_CLOSED_JDK_IMPORT_PATH}" ] ; then - echo "WARNING: Cannot access ALT_CLOSED_JDK_IMPORT_PATH=${ALT_CLOSED_JDK_IMPORT_PATH}" -fi - # Export PATH setting PATH="${path4sdk}" export PATH diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/Makefile --- a/jdk/make/jpda/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/back/Makefile --- a/jdk/make/jpda/back/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/back/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/transport/Makefile --- a/jdk/make/jpda/transport/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/transport/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/transport/shmem/Makefile --- a/jdk/make/jpda/transport/shmem/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/transport/shmem/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/transport/socket/Makefile --- a/jdk/make/jpda/transport/socket/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/transport/socket/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jpda/tty/Makefile --- a/jdk/make/jpda/tty/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jpda/tty/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jprt.gmk --- a/jdk/make/jprt.gmk Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jprt.gmk Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/jprt.properties --- a/jdk/make/jprt.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/jprt.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/launchers/Makefile --- a/jdk/make/launchers/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/launchers/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/Makefile --- a/jdk/make/mkdemo/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/applets/Makefile --- a/jdk/make/mkdemo/applets/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/applets/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/jfc/Makefile --- a/jdk/make/mkdemo/jfc/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/jfc/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/jni/Makefile --- a/jdk/make/mkdemo/jni/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/jni/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1999, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/jvmti/hprof/Makefile --- a/jdk/make/mkdemo/jvmti/hprof/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/jvmti/hprof/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/management/Makefile --- a/jdk/make/mkdemo/management/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/management/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/nio/Makefile --- a/jdk/make/mkdemo/nio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/nio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/nio/zipfs/Makefile --- a/jdk/make/mkdemo/nio/zipfs/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/nio/zipfs/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mkdemo/scripting/Makefile --- a/jdk/make/mkdemo/scripting/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mkdemo/scripting/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/Makefile --- a/jdk/make/mksample/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/dtrace/Makefile --- a/jdk/make/mksample/dtrace/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/dtrace/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/jmx/Makefile --- a/jdk/make/mksample/jmx/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/jmx/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/jmx/jmx-scandir/Makefile --- a/jdk/make/mksample/jmx/jmx-scandir/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/jmx/jmx-scandir/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/nbproject/Makefile --- a/jdk/make/mksample/nbproject/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/nbproject/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/nio/Makefile --- a/jdk/make/mksample/nio/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/nio/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/nio/file/Makefile --- a/jdk/make/mksample/nio/file/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/nio/file/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/nio/multicast/Makefile --- a/jdk/make/mksample/nio/multicast/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/nio/multicast/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/nio/server/Makefile --- a/jdk/make/mksample/nio/server/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/nio/server/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/scripting/Makefile --- a/jdk/make/mksample/scripting/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/scripting/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/scripting/scriptpad/Makefile --- a/jdk/make/mksample/scripting/scriptpad/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/scripting/scriptpad/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/webservices/EbayClient/Makefile --- a/jdk/make/mksample/webservices/EbayClient/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/webservices/EbayClient/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/webservices/EbayServer/Makefile --- a/jdk/make/mksample/webservices/EbayServer/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/webservices/EbayServer/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/mksample/webservices/Makefile --- a/jdk/make/mksample/webservices/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/mksample/webservices/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/Makefile --- a/jdk/make/modules/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/modules.config --- a/jdk/make/modules/modules.config Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/modules.config Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/optional.depconfig --- a/jdk/make/modules/optional.depconfig Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/optional.depconfig Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/tools/Makefile --- a/jdk/make/modules/tools/Makefile Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/tools/Makefile Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/tools/nbproject/project.properties --- a/jdk/make/modules/tools/nbproject/project.properties Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/tools/nbproject/project.properties Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/modules/tools/src/com/sun/classanalyzer/Module.java --- a/jdk/make/modules/tools/src/com/sun/classanalyzer/Module.java Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/modules/tools/src/com/sun/classanalyzer/Module.java Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/netbeans/README --- a/jdk/make/netbeans/README Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/netbeans/README Tue Jan 04 17:05:38 2011 -0800 @@ -93,7 +93,6 @@ make.options=\ ALT_BOOTDIR=/home/me/bin/jdk1.6.0 \ - ALT_BINARY_PLUGS_PATH=/home/me/bin/openjdk-binary-plugs \ ALT_JDK_IMPORT_PATH=/home/me/bin/jdk1.7.0 \ OPENJDK=true diff -r 12cc7f77e459 -r 55a18147b4bf jdk/make/netbeans/world/build.xml --- a/jdk/make/netbeans/world/build.xml Tue Jan 04 14:17:45 2011 -0800 +++ b/jdk/make/netbeans/world/build.xml Tue Jan 04 17:05:38 2011 -0800 @@ -1,5 +1,5 @@