hs19 import

Dr Andrew John Hughes ahughes at redhat.com
Tue Sep 21 15:46:24 PDT 2010


On 08:51 Tue 21 Sep     , Joe Darcy wrote:
> Erik Trimble wrote:
> >  On 9/20/2010 11:39 AM, Dr Andrew John Hughes wrote:
> >> On 21:37 Wed 15 Sep     , Erik Trimble wrote:
> >>>    On 9/15/2010 1:14 PM, Dr Andrew John Hughes wrote:
> >>>> I notice that new repositories have appeared for a hs19 stable branch:
> >>>>
> >>>> http://hg.openjdk.java.net/hsx/hsx19/master/
> >>>>
> >>>> Shall we start looking at this with regards to importing it for b21?
> >>> Go ahead. We've officially forked HS19 now (the JDK7 repos are now
> >>> starting with Hotspot 20).
> >>>
> >>> I would consider the hsx19 repos to be stable. There *may* be 
> >>> additional
> >>> development in them, but if so (and I'm not specifically promising
> >>> anything),  such development will be stabilization only.  New feature
> >>> development is now in HS20 over in the main JDK7 repos.
> >>>
> >>> HS19 is now in stabilization (bugfix-only) stage, and is suitable for
> >>> work to begin on importing into OpenJDK 6.
> >>>
> >> Thanks for the quick reply, Erik.
> >>
> >> I've started work on the merge, which is taking a while because of 
> >> the orthogonal
> >> copyright header changes in OpenJDK6 and HotSpot :-(
> >>
> >> One thing I have noticed is that some headers in hs19 don't have a 
> >> trailing comma before 'Oracle'
> >> and this is also true of the header template:
> >>
> >> --- make/templates/gpl-cp-header    2010-09-20 19:34:32.605298269 +0100
> >> +++ ../../hs19/make/templates/gpl-cp-header    2010-09-16 
> >> 13:01:36.601792981 +0100
> >> @@ -1,4 +1,4 @@
> >> -Copyright %YEARS%, Oracle and/or its affiliates. All rights reserved.
> >> +Copyright %YEARS% Oracle and/or its affiliates. All rights reserved.
> >>   DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
> >>
> >> Is HotSpot 19 correct or OpenJDK6?
> >
> > I think it's both. :-)
> >
> >
> > That is, the correct format for an explicitly stated copyright should be
> >
> >
> > Copyright 2000, Oracle and/or ....
> >
> > AND
> >
> > Copyright 2000, 2003, Oracle and/or ...
> >
> >
> > There should be a comma after each date (the second instance implies a 
> > date range between the two years).
> >
> > For the %YEARS% substitution in the templates, I don't think it 
> > matters whether there is a comma. It won't be right after a 
> > substitution no matter what we do. :-)
> >
> >
> > If you find instances of the the first case where there isn't a proper 
> > comma inserted, PLEASE let me know. I need to fix it.
> >
> 
> Erik,
> 
> Back during the big rebranding push, the GPL templates got updated a few 
> times:
> 
>     6943119: Rebrand source copyright notices
>     6961870: More rebranding fixes for templates/gpl-*-header files
> 
> At the time, I didn't update the templates in the HotSpot repo in an 
> attempt to avoid future merge issues.  However, the templates in HS 
> should match the templates in the jdk and root repository which now read as
> 
> Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved.
> 
> -Joe
> 

This webrev (against the current hotspot-rt tree) fixes the copyright issues,
including the template files Joe mentions and the missing trailing commas as well as
providing some copyright year updates present in OpenJDK6 but not HotSpot.

http://cr.openjdk.java.net/~andrew/copyright/webrev.01/

Erik, feel free to assign this a bug ID and push it through JPRT if it helps.

Joe, a webrev for the OpenJDK6 hs19 merge is at:

http://cr.openjdk.java.net/~andrew/jdk6-hs19-merge/webrev.01/

Please let me know if I can push this.

Thanks,
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


More information about the jdk6-dev mailing list