RFR: 8365047: Remove exception handler stub code in C2 [v5]

Boris Ulasevich bulasevich at openjdk.org
Mon Sep 29 11:16:36 UTC 2025


On Mon, 29 Sep 2025 10:36:22 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Thanks for the feedback. I followed the current guideline at https://openjdk.org/guide/#copyright-headers which advises:
>> 
>>> If your affiliation doesn’t have a copyright notice, again consult your legal representative to see if you should add one.
>> 
>> If the guideline isn't applicable or if there is a more detailed guidance on when Copyright header should or should not be added, I'd appreciate further advice.
>
> Here are some arguments why I wouldn't do it:
> - We usually don't add Copyright headers to existing files. Only to new ones we created. Many contributors are doing the same AFAIK. (Maybe only for very significant contributions to a file.)
> - The Linux Foundation has listed reasons "Why not list every copyright holder?" https://www.linuxfoundation.org/blog/blog/copyright-notices-in-open-source-software-projects
> - OpenJDK headers say "DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER."

Many companies have contributed to this file over time. If we all added our copyright lines, the header would become unreadable. The usual OpenJDK practice is to only update header for new files or very substantial rewrites.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26678#discussion_r2387563956


More information about the hotspot-dev mailing list