hs19 import

Joe Darcy joe.darcy at oracle.com
Tue Sep 21 08:51:37 PDT 2010


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



More information about the jdk6-dev mailing list