Skip to content

Commit 0a4a19f

Browse files
committed
Update years of the sources generating files
1 parent f1d2618 commit 0a4a19f

14 files changed

+43
-18
lines changed

lib/cext/ABI_check.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3
1+
4

lib/truffle/truffle/cext_constants.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved. This
1+
# Copyright (c) 2017, 2023 Oracle and/or its affiliates. All rights reserved. This
22
# code is released under a tri EPL/GPL/LGPL license. You can use it,
33
# redistribute it and/or modify it under the terms of the:
44
#

src/main/c/cext/cext_constants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved. This
2+
* Copyright (c) 2017, 2023 Oracle and/or its affiliates. All rights reserved. This
33
* code is released under a tri EPL/GPL/LGPL license. You can use it,
44
* redistribute it and/or modify it under the terms of the:
55
*

src/main/ruby/truffleruby/core/truffle/versioned_array.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
# Copyright (c) 2022, 2023 Oracle and/or its affiliates. All rights reserved. This
3+
# Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved. This
44
# code is released under a tri EPL/GPL/LGPL license. You can use it,
55
# redistribute it and/or modify it under the terms of the:
66
#

tool/generate-cext-constants.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env ruby
22

3-
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2017, 2023 Oracle and/or its affiliates. All rights reserved.
44
# This code is released under a tri EPL/GPL/LGPL license. You can use it,
55
# redistribute it and/or modify it under the terms of the:
66
#
77
# Eclipse Public License version 2.0, or
88
# GNU General Public License version 2, or
99
# GNU Lesser General Public License version 2.1.
1010

11+
copyright = File.read(__FILE__)[/Copyright \(c\) \d+, \d+ Oracle/]
12+
1113
constants = [
1214
# classes and modules
1315
Array,
@@ -121,7 +123,7 @@
121123
File.open("src/main/c/cext/cext_constants.c", "w") do |f|
122124
f.puts <<COPYRIGHT
123125
/*
124-
* Copyright (c) #{Time.now.year} Oracle and/or its affiliates. All rights reserved. This
126+
* #{copyright} and/or its affiliates. All rights reserved. This
125127
* code is released under a tri EPL/GPL/LGPL license. You can use it,
126128
* redistribute it and/or modify it under the terms of the:
127129
*
@@ -150,7 +152,7 @@
150152

151153
File.open("lib/truffle/truffle/cext_constants.rb", "w") do |f|
152154
f.puts <<COPYRIGHT
153-
# Copyright (c) #{Time.now.year} Oracle and/or its affiliates. All rights reserved. This
155+
# #{copyright} and/or its affiliates. All rights reserved. This
154156
# code is released under a tri EPL/GPL/LGPL license. You can use it,
155157
# redistribute it and/or modify it under the terms of the:
156158
#

tool/generate-core-symbols.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env ruby
22

3-
# Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2020, 2023 Oracle and/or its affiliates. All rights reserved.
44
# This code is released under a tri EPL/GPL/LGPL license. You can use it,
55
# redistribute it and/or modify it under the terms of the:
66
#
77
# Eclipse Public License version 2.0, or
88
# GNU General Public License version 2, or
99
# GNU Lesser General Public License version 2.1.
1010

11+
copyright = File.read(__FILE__)[/Copyright \(c\) \d+, \d+ Oracle/]
12+
1113
file = 'tool/id.def'
1214
ids = eval(File.read(file), binding, file)
1315
types = ids.keys.grep(/^[A-Z]/)
@@ -16,7 +18,7 @@
1618

1719
header = <<JAVA
1820
/*
19-
* Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved. This
21+
* #{copyright} and/or its affiliates. All rights reserved. This
2022
* code is released under a tri EPL/GPL/LGPL license. You can use it,
2123
* redistribute it and/or modify it under the terms of the:
2224
*

tool/generate-errno-descriptions.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved. This
2+
# code is released under a tri EPL/GPL/LGPL license. You can use it,
3+
# redistribute it and/or modify it under the terms of the:
4+
#
5+
# Eclipse Public License version 2.0, or
6+
# GNU General Public License version 2, or
7+
# GNU Lesser General Public License version 2.1.
8+
19
errnos = File.readlines("#{__dir__}/known_errors.def").map(&:chomp)
210

311
c = <<EOC

tool/generate-native-config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017 Oracle and/or its affiliates. All rights reserved. This
1+
# Copyright (c) 2017, 2023 Oracle and/or its affiliates. All rights reserved. This
22
# code is released under a tri EPL/GPL/LGPL license. You can use it,
33
# redistribute it and/or modify it under the terms of the:
44
#

tool/generate-options.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
#!/usr/bin/env ruby
22

3-
# Copyright (c) 2016, 2021 Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2016, 2023 Oracle and/or its affiliates. All rights reserved.
44
# This code is released under a tri EPL/GPL/LGPL license. You can use it,
55
# redistribute it and/or modify it under the terms of the:
66
#
77
# Eclipse Public License version 2.0, or
88
# GNU General Public License version 2, or
99
# GNU Lesser General Public License version 2.1.
1010

11+
copyright = File.read(__FILE__)[/Copyright \(c\) \d+, \d+ Oracle/]
12+
1113
require 'ostruct'
1214
require 'yaml'
1315
require 'erb'
@@ -134,7 +136,7 @@ def parse_reference_defaults(default)
134136

135137
TEMPLATE = <<'JAVA'
136138
/*
137-
* Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved. This
139+
* <%= copyright %> and/or its affiliates. All rights reserved. This
138140
* code is released under a tri EPL/GPL/LGPL license. You can use it,
139141
* redistribute it and/or modify it under the terms of the:
140142
*
@@ -215,7 +217,7 @@ def parse_reference_defaults(default)
215217

216218
File.write('src/shared/java/org/truffleruby/shared/options/OptionsCatalog.java', ERB.new(<<JAVA).result)
217219
/*
218-
* Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved. This
220+
* <%= copyright %> and/or its affiliates. All rights reserved. This
219221
* code is released under a tri EPL/GPL/LGPL license. You can use it,
220222
* redistribute it and/or modify it under the terms of the:
221223
*

tool/generate-pointer-methods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
code = <<RUBY
44
# frozen_string_literal: true
55
6-
# Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. This
6+
# Copyright (c) 2018, 2023 Oracle and/or its affiliates. All rights reserved. This
77
# code is released under a tri EPL/GPL/LGPL license. You can use it,
88
# redistribute it and/or modify it under the terms of the:
99
#

0 commit comments

Comments
 (0)