Mercurial > hg > icedtea7-forest-aarch64
changeset 905:a20ac67cdbc2 ppc-aix-port-b04
merge
author | Goetz |
---|---|
date | Tue, 12 Mar 2013 10:09:02 +0100 |
parents | 32c2df092b6c (current diff) b534282bd377 (diff) |
children | 7bdb960330d8 |
files | .hgtags |
diffstat | 6 files changed, 361 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Wed Feb 20 16:26:33 2013 +0100 +++ b/.hgtags Tue Mar 12 10:09:02 2013 +0100 @@ -162,9 +162,18 @@ 008753000680a2008175d14b25373356f531aa07 jdk7u4-b15 901b753e13ee064b01a6df9adeed0516c814f8c2 jdk7u4-b16 89e8d9a0f6f1b75109693f388b8242945442ae3b jdk7u4-b17 +008753000680a2008175d14b25373356f531aa07 jdk7u5-b01 21d4722185b95ab571c9e1e07d9ddd5e637cc2c9 jdk7u4-b18 212bad4649eff2fbdfcd397afcb0d1e3d566b41a jdk7u4-b19 1eae71787c3343d7f492c075f94d4010abdd4d5c jdk7u4-b20 +f3f02c7d86c7b6da7596ddacbba04906cd02ab0f jdk7u4-b30 +d738383dd287f0bdad23934c43674a1170dad993 jdk7u4-b21 +3e92586871d9e0cf6ef4f2a95f38a5d102ebd297 jdk7u4-b22 +0faf04aa1dd4cbfa92fa87492a29be52a0068033 jdk7u4-b31 +18b62edd0ae7fdb8ea93e8b4df1256a6284b5097 jdk7u5-b02 +c1abaa3cb715ee7d525da238f8a0c68297f95821 jdk7u5-b04 +0b45462b55fe715459570f5f422f0c4b770c2af9 jdk7u5-b05 +9459a5112a9af101d6de9746f0fc5df5474686c5 jdk7u5-b30 d9580838fd08872fc0da648ecfc6782704b4aac1 jdk7u6-b01 f0b9ae49261df769c37d5afbf074458bd8e4f59c jdk7u6-b02 b98436f0ff704739d2ada2a755a1b862370523c2 jdk7u6-b03 @@ -180,3 +189,73 @@ cdab3bfb573b8832d539a8fa3e9c20f9f4965132 ppc-aix-port-b01 06179726206f1411ed254f786be3477ca5763e37 ppc-aix-port-b02 50f2b3cacf77467befb95b7d4fea15bbdb4d650a ppc-aix-port-b03 +9b9a6d318e8aa5b8f0e42d2d3d2c0c34cb3f986d jdk7u6-b13 +eff9ea1ca63df8656ebef9fedca0c647a210d807 jdk7u6-b14 +528f1589f5f2adf18d5d21384ba668b9aa79841e jdk7u6-b15 +7b77364eb09faac4c37ce9dd2c2308ca5525f18f jdk7u6-b16 +b7c1b441d131c70278de299b5d1e59dce0755dc5 jdk7u6-b17 +9c41f7b1460b106d18676899d24b6ea07de5a369 jdk7u6-b18 +56291720b5e578046bc02761dcad2a575f99fd8e jdk7u6-b19 +e79fa743fe5a801db4acc7a7daa68f581423e5d3 jdk7u6-b20 +29f6fb1833eb2a696b95e8985126f2d70f511a82 jdk7u6-b21 +31cdab09d719fe60876c7f3a472386c1455d93e2 jdk7u6-b22 +d1c709f1196a73d1df10d04a221b10e30fd2eb48 jdk7u6-b23 +e4def733cc8c58e83b7cefa7edd89a3e2b793520 jdk7u6-b24 +f5f546dba006778854e7a81141fc1b44acd257a4 jdk7u6-b30 +43775eae8df6c874fb3631c86009505cf3821b1f jdk7u6-b31 +43775eae8df6c874fb3631c86009505cf3821b1f jdk7u7-b10 +a380c75873bfb578e605d4362edb18c08698cc3e jdk7u7-b30 +d7f2b3949f9c9ff1115ea61c496d3cd4c62e2759 jdk7u7-b11 +82c51e6a3bea0dd8feb1bd3033e847dbdc5d9f99 jdk7u7-b31 +5ca487420f9c2cf6d39acf1e842d13bf8ef0ca07 jdk7u7-b01 +dbfa9c57853c2dd9cd4e4a139d83b519573d8031 jdk7u7-b02 +bae912f95f2aa1d22dbc0ff62816b71861965cd6 jdk7u9-b03 +0000000000000000000000000000000000000000 jdk7u7-b01 +5ca487420f9c2cf6d39acf1e842d13bf8ef0ca07 jdk7u9-b01 +0000000000000000000000000000000000000000 jdk7u7-b02 +dbfa9c57853c2dd9cd4e4a139d83b519573d8031 jdk7u9-b02 +3159fbe20e2d9501007aae8ca3db58978d754561 jdk7u9-b04 +d9c8fa0606fdfff242175ce904c525a6fc40d6e5 jdk7u9-b05 +d934ce27cddbc9ba7236791f177872491204a41e jdk7u10-b10 +5a5ee5b70d563d5817b6ec023d275e9b17256459 jdk7u10-b11 +48b58c2d665c9a1d3598b981e46f87f9bcdd5b46 jdk7u10-b12 +1b9618b61e29c09b92f83956c613acf36ccabb38 jdk7u10-b13 +c50e1a044e4fcc1a94b79b42f3629beb07624010 jdk7u10-b14 +137087461db28f935493940658f31be760098f00 jdk7u10-b15 +c8a37a49fc90ae31b864544d6d4a9f6137d4995d jdk7u10-b16 +494e838439db7f0f4e36f7dcfeba06d2bef78c8d jdk7u10-b17 +dce9058d2151e6b5c84898c13cfd1521a627a296 jdk7u10-b18 +b5fb925394331313dbe3859fdc408bfd37193476 jdk7u10-b30 +c2d5141baeda6c9b5bbc83c21eff9c3940fefae4 jdk7u11-b20 +168aa0f1417b3651a955ae66068dc148b660f829 jdk7u11-b21 +c8a37a49fc90ae31b864544d6d4a9f6137d4995d jdk7u11-b03 +0b418e2ccf9093718609144689d1a8b316ad951f jdk7u11-b04 +e127e6c94b56f7348df67d9672c16a7dc9c5ec5e jdk7u11-b05 +f6abff072aabfee866342d9f7f4aac7d13450ddf jdk7u11-b06 +80a3d0bcd3d4c9e83b75416178bdd60a2d23ebbc jdk7u11-b07 +e7c55def6796d3c426631b5717084ef122908847 jdk7u11-b08 +2412f7b8551ede5296cb6e1d6189f40aad9eeffe jdk7u13-b09 +3b7815df113f8044039739276237b964ee8fa015 jdk7u13-b20 +1ab3edf5061fdde3a6f6510373a92444445af710 jdk7u8-b01 +d7a94c8cbbbfadbd9e2f3e4737eb7deb572dedc9 jdk7u8-b02 +e7c504c99ab60e3b21cdc9460afaa3926d53cff1 jdk7u8-b03 +996e3145029120fd6ef2cacb3d03cb1f20862247 jdk7u8-b04 +891689cc39ff9d67bc4fe43bcb91ecdabda1f9f8 jdk7u8-b05 +f16343fe14acb4118f0a3f78fd735a4a6133c76a jdk7u10-b06 +1fa71ffbbd596086dbade86505d2d7e1c436de76 jdk7u10-b07 +e7014c55a9e55c10fe4f91ca092eb01029c36c75 jdk7u10-b08 +aaf495a24a9bb996b3955e52edff8d93ff62dc5f jdk7u10-b09 +3eddc50eb3574bf4cff4081310fd763e958ed073 jdk7u12-b01 +207c000ac697d052f84cde6e782865b209e60239 jdk7u12-b02 +a3917db5d568d9805b3c46ce67c39c475cf10e0e jdk7u12-b03 +52945b197d7c93d215067034a45e5e9452c67f78 jdk7u12-b04 +eae53fe51e79e04ca28b5790a6ae25d39a06b0ab jdk7u12-b05 +a008905ce525b88e5bdc80fe6ad7570f6f6a19ac jdk7u12-b06 +c3e42860af1cfd997fe1895594f652f0d1e9984e jdk7u12-b07 +1a03ef4794dc8face4de605ae480d4c763e6b494 jdk7u12-b08 +87cf81226f2012e5c21131adac7880f7e4da1133 jdk7u12-b09 +745a15bb6d94765bb5c68048ff146590df9b8441 jdk7u14-b10 +2d8fdaa5bb55b937028e385633ce58de4dcdb69c jdk7u14-b11 +594dbbbb84add4aa310d51af7e298470d8cda458 jdk7u14-b12 +ae5c1b29297dae0375277a0b6428c266d8d77c71 jdk7u14-b13 +bb97ad0c9e5a0566e82b3b4bc43eabe680b89d97 jdk7u14-b14
--- a/get_source.sh Wed Feb 20 16:26:33 2013 +0100 +++ b/get_source.sh Tue Mar 12 10:09:02 2013 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2012, 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 @@ -26,7 +26,7 @@ # # Get clones of all nested repositories -sh ./make/scripts/hgforest.sh clone +sh ./make/scripts/hgforest.sh clone $* # Update all existing repositories to the latest sources sh ./make/scripts/hgforest.sh pull -u
--- a/make/jprt.properties Wed Feb 20 16:26:33 2013 +0100 +++ b/make/jprt.properties Tue Mar 12 10:09:02 2013 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2006, 2012, 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 @@ -79,19 +79,17 @@ ${jprt.my.test.target.set:TESTNAME=jdk_util}, \ ${jprt.my.test.target.set:TESTNAME=jdk_io}, \ ${jprt.my.test.target.set:TESTNAME=jdk_net}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_nio1}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_nio2}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_nio3}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_nio}, \ ${jprt.my.test.target.set:TESTNAME=jdk_security1}, \ ${jprt.my.test.target.set:TESTNAME=jdk_security2}, \ ${jprt.my.test.target.set:TESTNAME=jdk_security3}, \ ${jprt.my.test.target.set:TESTNAME=jdk_rmi}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_management1}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_management2}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_management}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_jmx}, \ ${jprt.my.test.target.set:TESTNAME=jdk_text}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_tools1}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_tools2}, \ - ${jprt.my.test.target.set:TESTNAME=jdk_misc} + ${jprt.my.test.target.set:TESTNAME=jdk_tools}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_jfr}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_other} # All vm test targets (testset=all) jprt.vm.all.test.targets= \ @@ -106,6 +104,7 @@ ${jprt.my.test.target.set:TESTNAME=jdk_beans1} \ ${jprt.my.test.target.set:TESTNAME=jdk_beans2}, \ ${jprt.my.test.target.set:TESTNAME=jdk_beans3}, \ + ${jprt.my.test.target.set:TESTNAME=jdk_jdi}, \ ${jprt.my.test.target.set:TESTNAME=jdk_sound}, \ ${jprt.my.test.target.set:TESTNAME=jdk_swing}
--- a/make/scripts/hgforest.sh Wed Feb 20 16:26:33 2013 +0100 +++ b/make/scripts/hgforest.sh Tue Mar 12 10:09:02 2013 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2012, 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 @@ -24,6 +24,8 @@ # # Shell script for a fast parallel forest command +command="$1" +pull_extra_base="$2" tmp=/tmp/forest.$$ rm -f -r ${tmp} @@ -35,40 +37,58 @@ # Only look in specific locations for possible forests (avoids long searches) pull_default="" -if [ "$1" = "clone" -o "$1" = "fclone" ] ; then +repos="" +repos_extra="" +if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then subrepos="corba jaxp jaxws langtools jdk hotspot" if [ -f .hg/hgrc ] ; then pull_default=`hg paths default` + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial clone with 'hg paths default' defined" + exit 1 + fi fi if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial clone with 'hg paths default' defined" + echo "ERROR: Need initial repository to use this script" exit 1 fi - repos="" for i in ${subrepos} ; do if [ ! -f ${i}/.hg/hgrc ] ; then repos="${repos} ${i}" fi done + if [ "${pull_extra_base}" != "" ] ; then + subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/make/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" + pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` + pull_extra="${pull_extra_base}/${pull_default_tail}" + for i in ${subrepos_extra} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos_extra="${repos_extra} ${i}" + fi + done + fi at_a_time=2 + # Any repos to deal with? + if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then + echo "No repositories to clone." + exit + fi else hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` # Derive repository names from the .hg directory locations - repos="" for i in ${hgdirs} ; do repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" done at_a_time=8 + # Any repos to deal with? + if [ "${repos}" = "" ] ; then + echo "No repositories to process." + exit + fi fi -# Any repos to deal with? -if [ "${repos}" = "" ] ; then - echo "No repositories to process." - exit -fi - -# Echo out what repositories we will process -echo "# Repos: ${repos}" +# Echo out what repositories we will clone +echo "# Repos: ${repos} ${repos_extra}" # Run the supplied command on all repos in parallel, save output until end n=0 @@ -77,8 +97,9 @@ n=`expr ${n} '+' 1` ( ( - if [ "$1" = "clone" -o "$1" = "fclone" ] ; then - cline="hg $* ${pull_default}/${i} ${i}" + if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newrepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) else @@ -92,10 +113,29 @@ sleep 5 fi done - # Wait for all hg commands to complete wait +if [ "${repos_extra}" != "" ] ; then + for i in ${repos_extra} ; do + echo "Starting on ${i}" + n=`expr ${n} '+' 1` + ( + ( + pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newextrarepo} ${i}" + echo "# ${cline}" + ( eval "${cline}" ) + echo "# exit code $?" + ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & + if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then + sleep 5 + fi + done + # Wait for all hg commands to complete + wait +fi + # Cleanup rm -f -r ${tmp}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make/scripts/normalizer.pl Tue Mar 12 10:09:02 2013 +0100 @@ -0,0 +1,208 @@ +#!/usr/bin/perl + +# +# Copyright (c) 2009, 2012, 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. +# +# 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. +# + +# +# Parses java files: +# 1. Removes from the end of lines spaces and TABs +# 2. Replaces TABs by spaces +# 3. Replaces all NewLine separators by Unix NewLine separators +# 4. Makes one and only one empty line at the end of each file + +if ($#ARGV < 0) { + &usage; + + die; +} + +use Cwd 'abs_path'; + +my @extensions = ("java"); + +# Read options +my $dirpos = 0; + +while ($dirpos < $#ARGV) { + if ($ARGV[$dirpos] eq "-e") { + @extensions = split(/,/, $ARGV[$dirpos + 1]); + } else { + last; + } + + $dirpos += 2; +} + +if ($dirpos > $#ARGV) { + &usage; + + die; +} + +use Cwd; +my $currdir = getcwd; + +my $allfiles = 0; + +my $filecount = 0; + +my @tabvalues; + +# Init tabvalues +push (@tabvalues, " "); + +for (my $i = 1; $i < 8; $i++) { + push(@tabvalues, $tabvalues[$i - 1] . " "); +} + +open(FILELIST, ">$currdir/filelist") or die "Failed while open $currdir/filelist: $!\n"; + +while ($dirpos <= $#ARGV) { + use File::Find; + + find(\&parse_file, abs_path($ARGV[$dirpos])); + + $dirpos += 1; +} + +close(FILELIST); + +use Cwd 'chdir'; +chdir $currdir; + +print "Checked $allfiles file(s)\n"; +print "Modified $filecount file(s)\n"; +print "See results in the file $currdir/filelist\n"; + +sub parse_file { + my $filename = $File::Find::name; + + # Skip directories + return if -d; + + # Skip SCCS files + return if ($filename =~ /\/SCCS\//); + + # Skip files with invalid extensions + my $accepted = 0; + foreach my $ext (@extensions) { + if ($_ =~ /\.$ext$/i) { + $accepted = 1; + + last; + } + } + return if ($accepted == 0); + + use File::Basename; + my $dirname = dirname($filename); + + use Cwd 'chdir'; + chdir $dirname; + + open(FILE, $filename) or die "Failed while open $filename: $!\n"; + + # Read file + my @content; + my $line; + my $emptylinescount = 0; + my $modified = 0; + + while ($line = <FILE>) { + my $originalline = $line; + + # Process line + + # Remove from the end of the line spaces and return character + while ($line =~ /\s$/) { + chop($line); + } + + # Replace TABs + for (my $i = 0; $i < length($line); $i++) { + if (substr($line, $i, 1) =~ /\t/) { + $line = substr($line, 0, $i) . $tabvalues[7 - ($i % 8)] . substr($line, $i + 1); + } + } + + if (length($line) == 0) { + $emptylinescount++; + } else { + while ($emptylinescount > 0) { + push(@content, ""); + + $emptylinescount--; + } + + push(@content, $line); + } + + if ($originalline ne ($line . "\n")) { + $modified = 1; + } + + } + + $allfiles++; + + if ($emptylinescount > 0) { + $modified = 1; + } + + close(FILE); + + if ($modified != 0) { + # Write file + open(FILE, ">$filename") or die "Failed while open $filename: $!\n"; + + for (my $i = 0; $i <= $#content; $i++) { + print FILE "$content[$i]\n"; + } + + close(FILE); + + # Print name from current dir + if (index($filename, $currdir) == 0) { + print FILELIST substr($filename, length($currdir) + 1); + } else { + print FILELIST $filename; + } + print FILELIST "\n"; + + $filecount++; + + print "$filename: modified\n"; + } +} + +sub usage { + print "Usage:\n"; + print " normalizer.pl [-options] <dir> [dir2 dir3 ...]\n"; + print " Available options:\n"; + print " -e comma separated files extensions. By default accepts only java files\n"; + print "\n"; + print "Examples:\n"; + print " normalizer.pl -e c,cpp,h,hpp .\n"; +} + +
--- a/test/Makefile Wed Feb 20 16:26:33 2013 +0100 +++ b/test/Makefile Tue Mar 12 10:09:02 2013 +0100 @@ -1,5 +1,5 @@ # -# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2012, 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 @@ -57,15 +57,18 @@ jdk_beans1 jdk_beans2 jdk_beans3 \ jdk_io \ jdk_lang \ - jdk_management1 jdk_management2 \ + jdk_management \ + jdk_jmx \ jdk_math \ - jdk_misc \ + jdk_other \ jdk_net \ - jdk_nio1 jdk_nio2 jdk_nio3 \ + jdk_nio \ jdk_security1 jdk_security2 jdk_security3 \ jdk_sound \ jdk_text \ - jdk_tools1 jdk_tools2 \ + jdk_tools \ + jdk_jdi \ + jdk_jfr \ jdk_util # These tests need a DISPLAY and can create window interaction complications