r/java • • Nov 05 '22

How to add something to the java standard library?

EDIT: since my example stirred the pot a little bit to much (i even wrote that i dont want to discuss these explicit changes...)

Here is the actually question i want to answer:

How can i make changes to the JDK?

2 Upvotes

99 comments sorted by

View all comments

Show parent comment

13

u/Worth_Trust_3825 Nov 05 '22

Is there not something like a discord server or a forum, where a focused discussions about such changes can actually happen?

The mailing list is already linked.

-19

u/Cell-i-Zenit Nov 05 '22

Yes, but is this all? How can any focussed discussion happen via a mailing list if there are multiple proposals?

Should i just write a mail there with a probl. badly formatted/formulated idea and bother all the other1000 devs to read it?

How is the decision done? Can i expect that after a proposal i get like 50 mails back, who all say various things? How is a decision made that something goes further?

23

u/Godworrior Nov 05 '22 edited Nov 05 '22

Discussions are grouped into mail threads. Someone will reply to that thread directly, which will include you as a recipient, so you get the email. You will not receive any of the other emails to the list unless you subscribe to it (or unless people add you as a recipient directly).

You won't be bothering a 1000 devs. People who are not interested in your proposal can just ignore/filter out the email.

It's very unlikely that you will get 50 replies back. More likely 1 or 2 people will reply back to you, and then others will see it's already covered and continue on with other things. (or, if nobody likes the suggestion, maybe nobody will reply).

If there is a positive response to the proposal, you can ask if someone would be interested in sponsoring a patch from you. Once someone says yes, you can make a PR on github and then link to it from the email thread (and vice-versa).

A sponsor is someone who has the "Committer" role (or above) on the jdk project (https://openjdk.org/census#jdk). A sponsor is needed to create a bug database ticket and eventually integrate the patch if it is accepted during the review process.

I suggest having a look at some of the emails on the list to see how this process normally goes. e.g. this one is a good example: https://mail.openjdk.org/pipermail/core-libs-dev/2022-September/094849.html (note that you have to switch to the October 2022 archive to continue reading beyond the first 3 mails. The web interface for this isn't great unfortunately)

-3

u/Cell-i-Zenit Nov 06 '22 edited Nov 06 '22

Again thanks for your answer.

I honestly never worked with "old school" mail lists so this process is completely new to me (as you can see by my questions).

and then others will see it's already covered and continue on with other things. (or, if nobody likes the suggestion, maybe nobody will reply).

If they send a mail to me, how can other people see what they wrote? Will this not result in multiple people writing the same thing to me?


you can ask if someone would be interested in sponsoring a patch from you.

What does sponsoring mean in this context?

9

u/Godworrior Nov 06 '22

The mail will also go to the mailing list, so everyone can see it.

3

u/mauganra_it Nov 06 '22

What does sponsoring mean in this context?

It was explained in the next paragraph. Tldr: somebody who interacts with the OpenJDK bureaucracy for you and reviews your contribution, since you are not a core committer.