hs19 import
Erik Trimble
erik.trimble at oracle.com
Fri Sep 24 00:39:17 PDT 2010
On 9/23/2010 3:20 PM, Erik Trimble wrote:
> [On 9/23/2010 12:48 PM, Dr Andrew John Hughes wrote:
>> On 09:46 Thu 23 Sep , Joe Darcy wrote:
>>> Dr Andrew John Hughes wrote:
>>>> 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,
>>>>
>>> Hi Andrew.
>>>
>>> I won't get a chance to look at this until after JavaOne.
>>>
>> Yeah, it's okay, I kinda guessed :-D
>> There's no rush, we're already testing it in IcedTea.
>>
>> Enjoy the conference!
>>
>>> Thanks,
>>>
>>> -Joe
>
>
> I'll do this tomorrow. It should get fixed a couple of different
> places, so I'll have to create a CR for it.
>
OK, I just looked at this.
I've cloned the whole JDK7 forest, and did this:
[et151817 at foundation jdk-forest]$ ggrep -r '%YEARS' .
./make/templates/gpl-header:Copyright %YEARS% Sun Microsystems, Inc.
All Rights Reserved.
./make/templates/gpl-cp-header:Copyright %YEARS% Sun Microsystems, Inc.
All Rights Reserved.
./make/templates/bsd-header:Copyright %YEARS% Sun Microsystems, Inc.
All Rights Reserved.
./jdk/make/templates/gpl-header:Copyright %YEARS% Sun Microsystems,
Inc. All Rights Reserved.
./jdk/make/templates/gpl-cp-header:Copyright %YEARS% Sun Microsystems,
Inc. All Rights Reserved.
./jdk/make/templates/bsd-header:Copyright %YEARS% Sun Microsystems,
Inc. All Rights Reserved.
./hotspot/make/templates/bsd-header:Copyright %YEARS% Oracle and/or its
affiliates. All rights reserved.
./hotspot/make/templates/gpl-cp-header:Copyright %YEARS% Oracle and/or
its affiliates. All rights reserved.
./hotspot/make/templates/gpl-header:Copyright %YEARS% Oracle and/or its
affiliates. All rights reserved.
This applies in the full jdk6/jdk6 forest, the full jdk7/jdk7 forest,
and the abbreviated hsx/hsx19 forests.
I will be changing the hotspot/make/templates files to be this:
Copyright (c) %YEARS%, Oracle and/or its affiliates. All rights reserved.
I'll then push it to the jdk7 and hsx19 repos.
Joe or Kelly - can you fix the line in the jdk/make/templates and
make/templates directories?
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
More information about the jdk6-dev
mailing list