7033660: Update copyright year to 2011 on any files changed in 2011

Wed, 06 Apr 2011 22:14:00 -0700

author
ohair
date
Wed, 06 Apr 2011 22:14:00 -0700
changeset 330
7e13dbf7e8af
parent 325
7654afc6a29e
child 331
fc47c97bbbd9

7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes

Makefile file | annotate | diff | comparison | revisions
make/Defs-internal.gmk file | annotate | diff | comparison | revisions
make/corba-rules.gmk file | annotate | diff | comparison | revisions
make/deploy-rules.gmk file | annotate | diff | comparison | revisions
make/hotspot-rules.gmk file | annotate | diff | comparison | revisions
make/install-rules.gmk file | annotate | diff | comparison | revisions
make/jaxp-rules.gmk file | annotate | diff | comparison | revisions
make/jaxws-rules.gmk file | annotate | diff | comparison | revisions
make/jdk-rules.gmk file | annotate | diff | comparison | revisions
make/langtools-rules.gmk file | annotate | diff | comparison | revisions
make/scripts/update_copyright_year.sh file | annotate | diff | comparison | revisions
make/sponsors-rules.gmk file | annotate | diff | comparison | revisions
test/Makefile file | annotate | diff | comparison | revisions
     1.1 --- a/Makefile	Thu Mar 31 18:13:58 2011 -0700
     1.2 +++ b/Makefile	Wed Apr 06 22:14:00 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  #
     1.5 -# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8  #
     1.9  # This code is free software; you can redistribute it and/or modify it
     2.1 --- a/make/Defs-internal.gmk	Thu Mar 31 18:13:58 2011 -0700
     2.2 +++ b/make/Defs-internal.gmk	Wed Apr 06 22:14:00 2011 -0700
     2.3 @@ -1,5 +1,5 @@
     2.4  #
     2.5 -# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
     2.6 +# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
     2.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2.8  #
     2.9  # This code is free software; you can redistribute it and/or modify it
     3.1 --- a/make/corba-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     3.2 +++ b/make/corba-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     3.3 @@ -1,5 +1,5 @@
     3.4  #
     3.5 -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
     3.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     3.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3.8  #
     3.9  # This code is free software; you can redistribute it and/or modify it
     4.1 --- a/make/deploy-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     4.2 +++ b/make/deploy-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     4.3 @@ -1,5 +1,5 @@
     4.4  #
     4.5 -# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
     4.6 +# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
     4.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4.8  #
     4.9  # This code is free software; you can redistribute it and/or modify it
     5.1 --- a/make/hotspot-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     5.2 +++ b/make/hotspot-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     5.3 @@ -1,5 +1,5 @@
     5.4  #
     5.5 -# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
     5.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     5.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5.8  #
     5.9  # This code is free software; you can redistribute it and/or modify it
     6.1 --- a/make/install-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     6.2 +++ b/make/install-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     6.3 @@ -1,5 +1,5 @@
     6.4  #
     6.5 -# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
     6.6 +# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
     6.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6.8  #
     6.9  # This code is free software; you can redistribute it and/or modify it
     7.1 --- a/make/jaxp-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     7.2 +++ b/make/jaxp-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     7.3 @@ -1,5 +1,5 @@
     7.4  #
     7.5 -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
     7.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     7.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     7.8  #
     7.9  # This code is free software; you can redistribute it and/or modify it
     8.1 --- a/make/jaxws-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     8.2 +++ b/make/jaxws-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     8.3 @@ -1,5 +1,5 @@
     8.4  #
     8.5 -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
     8.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     8.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     8.8  #
     8.9  # This code is free software; you can redistribute it and/or modify it
     9.1 --- a/make/jdk-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
     9.2 +++ b/make/jdk-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
     9.3 @@ -1,5 +1,5 @@
     9.4  #
     9.5 -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
     9.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
     9.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     9.8  #
     9.9  # This code is free software; you can redistribute it and/or modify it
    10.1 --- a/make/langtools-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
    10.2 +++ b/make/langtools-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
    10.3 @@ -1,5 +1,5 @@
    10.4  #
    10.5 -# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
    10.6 +# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
    10.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    10.8  #
    10.9  # This code is free software; you can redistribute it and/or modify it
    11.1 --- a/make/scripts/update_copyright_year.sh	Thu Mar 31 18:13:58 2011 -0700
    11.2 +++ b/make/scripts/update_copyright_year.sh	Wed Apr 06 22:14:00 2011 -0700
    11.3 @@ -1,4 +1,4 @@
    11.4 -#!/bin/sh -f
    11.5 +#!/bin/bash -f
    11.6  
    11.7  #
    11.8  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    11.9 @@ -152,14 +152,24 @@
   11.10      echo "------------------------------------------------"
   11.11      hg log --rev ${changeset} --template '{desc}\n' > ${desc}
   11.12      printf "%d: %s\n%s\n" ${index} "${changeset}" "`cat ${desc}|head -1`"
   11.13 -    if cat ${desc} | fgrep -i "Added tag" > /dev/null ; then
   11.14 -      printf "  EXCLUDED tag changeset.\n"
   11.15 -    elif cat ${desc} | fgrep -i rebrand > /dev/null ; then
   11.16 -      printf "  EXCLUDED rebrand changeset.\n"
   11.17 -    elif cat ${desc} | fgrep -i copyright > /dev/null ; then
   11.18 -      printf "  EXCLUDED copyright changeset.\n"
   11.19 +    if [ "${year}" = "2010" ] ; then
   11.20 +      if cat ${desc} | fgrep -i "Added tag" > /dev/null ; then
   11.21 +        printf "  EXCLUDED tag changeset.\n"
   11.22 +      elif cat ${desc} | fgrep -i rebrand > /dev/null ; then
   11.23 +        printf "  EXCLUDED rebrand changeset.\n"
   11.24 +      elif cat ${desc} | fgrep -i copyright > /dev/null ; then
   11.25 +        printf "  EXCLUDED copyright changeset.\n"
   11.26 +      else
   11.27 +        updateChangesetFiles ${changeset}
   11.28 +      fi
   11.29      else
   11.30 -      updateChangesetFiles ${changeset}
   11.31 +      if cat ${desc} | fgrep -i "Added tag" > /dev/null ; then
   11.32 +        printf "  EXCLUDED tag changeset.\n"
   11.33 +      elif cat ${desc} | fgrep -i "copyright year" > /dev/null ; then
   11.34 +        printf "  EXCLUDED copyright year changeset.\n"
   11.35 +      else
   11.36 +        updateChangesetFiles ${changeset}
   11.37 +      fi
   11.38      fi
   11.39      rm -f ${desc}
   11.40    done
    12.1 --- a/make/sponsors-rules.gmk	Thu Mar 31 18:13:58 2011 -0700
    12.2 +++ b/make/sponsors-rules.gmk	Wed Apr 06 22:14:00 2011 -0700
    12.3 @@ -1,5 +1,5 @@
    12.4  #
    12.5 -# Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
    12.6 +# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
    12.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    12.8  #
    12.9  # This code is free software; you can redistribute it and/or modify it
    13.1 --- a/test/Makefile	Thu Mar 31 18:13:58 2011 -0700
    13.2 +++ b/test/Makefile	Wed Apr 06 22:14:00 2011 -0700
    13.3 @@ -1,5 +1,5 @@
    13.4  #
    13.5 -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    13.6 +# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
    13.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    13.8  #
    13.9  # This code is free software; you can redistribute it and/or modify it

mercurial