I felt responsibility for the .github files, and wanted to check if there were more build system files needed updating. So I ran a more comprehensive script, and discovered a *lot* more files that needed updating. Like a thousand or so...

I have opened a series of issues starting at https://bugs.openjdk.org/browse/JDK-8345793 and going up to https://bugs.openjdk.org/browse/JDK-8345805 to update these headers.

I agree, this should be automated. We're starting to slowly get there, see https://github.com/openjdk/skara/pull/1702 for a first step.

/Magnus

On 2024-12-03 16:45, Archie Cobbs wrote:
Dumb question...

It seems like the thing with updating copyright years in source files could be better automated. At least, couldn't there be a test that fails if you forget?

FWIW my little updater script says that these files still need to be updated to 2024:

.github/actions/config/action.yml
.github/actions/do-build/action.yml
.github/actions/get-bootjdk/action.yml
.github/actions/get-bundles/action.yml
.github/actions/get-msys2/action.yml
.github/scripts/gen-build-failure-report.sh
.github/scripts/gen-test-summary.sh
.github/workflows/build-cross-compile.yml
.github/workflows/test.yml
src/java.base/share/classes/jdk/internal/org/xml/sax/Attributes.java
src/java.base/share/classes/jdk/internal/org/xml/sax/InputSource.java
src/java.base/share/classes/jdk/internal/org/xml/sax/SAXException.java
src/java.base/share/classes/jdk/internal/org/xml/sax/SAXParseException.java
src/java.base/share/classes/jdk/internal/org/xml/sax/XMLReader.java
src/java.base/share/classes/jdk/internal/org/xml/sax/helpers/DefaultHandler.java
src/java.base/share/classes/jdk/internal/platform/Metrics.java
test/hotspot/jtreg/compiler/vectorization/runner/BasicIntOpTest.java
test/hotspot/jtreg/compiler/vectorization/runner/BasicLongOpTest.java
test/hotspot/jtreg/compiler/whitebox/DeoptimizeFramesTest.java

-Archie

--
Archie L. Cobbs

Reply via email to