On Tue, 10 Jan 2023 14:47:45 GMT, Fredrik Bredberg <d...@openjdk.org> wrote:

>> src/hotspot/cpu/aarch64/continuationHelper_aarch64.inline.hpp line 2:
>> 
>>> 1: /*
>>> 2:  * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
>> 
>> Note, you changed the initial year. Should be:
>> 
>> - * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
>> + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights 
>> reserved.
>
> My sed script which updated all copyright headers to 2023 didn't take into 
> account files with only one year in the copyright line. My bad.

#
foreach f (`cat file.list`)
  echo $f
  sed -e "s/Copyright (c) ([12][0-9][0-9][0-9]), [0-9][0-9][0-9][0-9], 
Oracle/Copyright (c) \1, 2023, Oracle/"  \
      -e "s/Copyright (c) ([12][0-9][013456789][012456789]), Oracle/Copyright 
(c) \1, 2023, Oracle/" <$f >$f.new
  diff $f $f.new
  mv $f.new $f
end

-------------

PR: https://git.openjdk.org/jdk/pull/11902

Reply via email to