|
1 | 1 | #!/usr/bin/env ruby |
2 | 2 |
|
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. |
4 | 4 | # This code is released under a tri EPL/GPL/LGPL license. You can use it, |
5 | 5 | # redistribute it and/or modify it under the terms of the: |
6 | 6 | # |
7 | 7 | # Eclipse Public License version 2.0, or |
8 | 8 | # GNU General Public License version 2, or |
9 | 9 | # GNU Lesser General Public License version 2.1. |
10 | 10 |
|
| 11 | +copyright = File.read(__FILE__)[/Copyright \(c\) \d+, \d+ Oracle/] |
| 12 | + |
11 | 13 | require 'ostruct' |
12 | 14 | require 'yaml' |
13 | 15 | require 'erb' |
@@ -134,7 +136,7 @@ def parse_reference_defaults(default) |
134 | 136 |
|
135 | 137 | TEMPLATE = <<'JAVA' |
136 | 138 | /* |
137 | | - * Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved. This |
| 139 | + * <%= copyright %> and/or its affiliates. All rights reserved. This |
138 | 140 | * code is released under a tri EPL/GPL/LGPL license. You can use it, |
139 | 141 | * redistribute it and/or modify it under the terms of the: |
140 | 142 | * |
@@ -215,7 +217,7 @@ def parse_reference_defaults(default) |
215 | 217 |
|
216 | 218 | File.write('src/shared/java/org/truffleruby/shared/options/OptionsCatalog.java', ERB.new(<<JAVA).result) |
217 | 219 | /* |
218 | | - * Copyright (c) 2016, 2022 Oracle and/or its affiliates. All rights reserved. This |
| 220 | + * <%= copyright %> and/or its affiliates. All rights reserved. This |
219 | 221 | * code is released under a tri EPL/GPL/LGPL license. You can use it, |
220 | 222 | * redistribute it and/or modify it under the terms of the: |
221 | 223 | * |
|
0 commit comments