Giving up upstream-ing my patches & feel free to pick them up

xtex xtex at envs.net
Sat Jan 31 09:51:36 UTC 2026


Hi,

About one year ago, in Jan. 2025, I began my adventure of the OpenJDK 
codebase. Later I attempted to make some patches into the repository.
I checked the documentation and learned that I have to sign an Oracle 
Contributor Agreement before submitting patches to OpenJDK. At that time, I 
dreamed that it was just a pretty normal CLA, like the ones I signed for other 
projects and shall just take at most several days.

A few days later, I received an email asking me to update some information in 
the agreement. I did. After that, I have sent 5 emails to 
opensource_ww_grp at oracle.com asking if there was anything wrong (once a month 
from January to May). For each of my emails, I got a reply, saying that they 
"sincerely apologize" and "@Dalibor Topic Can you please review...", with no 
actual progress being made. Now it has been (more than) one year since I 
submitted my first OCA submission. And I have been tired of "/touch"-ing my PR 
once a month.

I wonder if there is a reason for not reviewing my OCA submission. I do live 
in Chinese Mainland but I have no contractual or subordinate or teacher-
student relationship with any entities that are restricted by the US import/
export control laws (according to OpenSanctions). If you think that I have 
such a relationship or should be rejected for any other reasons, please simply 
reject my OCA submission, instead of hanging it for months.

As I no longer have enough interest and spare time to work on OpenJDK, I 
decided to give up upstreaming those patches.
If anyone is interested in them, please feel free to pick up and submit these 
patches, most of which are small but I believe they are useful.
As OCA requires that "each contribution that you submit is and shall be an 
original work of authorship", you may rewrite my patches from scratch so it is 
an original work, and you don't need to sign my name or ping me.

I would like to give a list of the patches that I wanted to upstream but 
failed:

- Checks if "llvm-config" is broken:
https://github.com/AOSC-Tracking/jdk/commit/
6a8b12b1ad700d994a2803de593ca06e698ef1a9
- Extend default thread stack size for zero:
This addresses the stack overflow exception in javac when building JDK 24 with 
zero variants.
https://github.com/AOSC-Tracking/jdk/commit/
4534fcaafc149f649105dc9914c7cf4aaf8c802c
https://www.mail-archive.com/build-dev@openjdk.org/msg14818.html

Some patches that are not for the upstream OpenJDK but Loongson's fork of JDK 
and were also blocked by OCA:
https://github.com/loongson/jdk/pull/134
https://github.com/loongson/jdk/pull/126
https://github.com/loongson/jdk/pull/125
https://github.com/loongson/jdk/pull/135
https://github.com/loongson/jdk/pull/136
https://github.com/AOSC-Tracking/jdk/commit/
913dcb2b2759437876ae3a40a1b074eeb1bfe09f
https://github.com/AOSC-Tracking/jdk/commit/
caba8e6de73fd9ffa078d6c257d6be8500b9d16a

Best wishes,
Bye.
-- 
Bingwu Zhang (a.k.a. xtex) @ Sat, 31 Jan 2026 08:42:31 +0000





More information about the hotspot-dev mailing list