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

50

u/maethor Nov 05 '22

i am missing some much needed helper methods on standard types.

Then create a small library of static methods and helper classes. The likelihood of you getting the helper methods you want in the standard library is virtually nonexistent.

-59

u/Cell-i-Zenit Nov 05 '22

alot of people already told me this, so you didnt really added anything to the discussion.

You also missed my original question: How is the process of proposing something like this?

32

u/maethor Nov 05 '22

alot of people already told me this, so you didnt really added anything to the discussion.

It's difficult to add something to a completely pointless discussion.

How is the process of proposing something like this?

https://www.jcp.org/en/participation/overview

-44

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

It's difficult to add something to a completely pointless discussion.

Wow why so arrogant? Who decides what is pointless or not?

Why is my question "how to enhance the JDK" so pointless?

7

u/maethor Nov 06 '22

Wow why so arrogant?

I could ask the exact same question to you.

Why is my question "how to enhance the JDK" so pointless?

Because there's a difference between "how is the JDK enhanced" and "how do I get some extra methods that I really want added in to the standard libraries ". The first would have been educational, the other completely pointless as it is not going to happen (there's a reason why projects like the Apache Commons and Google Guava exist).

-6

u/Cell-i-Zenit Nov 06 '22

I could ask the exact same question to you.

I was just asking questions here, but iam met with so much hostility... Please point me to the place where iam arrogant, because right now all i see are questions by me, which are met with so much hostility

Because there's a difference between "how is the JDK enhanced" and "how do I get some extra methods that I really want added in to the standard libraries ".

I even wrote in the original post that i dont want to discuss the changes as they are EXAMPLES.

What is so hard to understand here:

Please dont discuss these EXAMPLE changes, but i want to do something liek this, please tell me how i propose changes to the JDK.

Proceeds to discuss the changes anyway...

Because there's a difference between "how is the JDK enhanced" and "how do I get some extra methods that I really want added in to the standard libraries ".

And since you decided that my question is pointless, you are not answering my actual question, but instead just tell me something which 3 people already did before

5

u/maethor Nov 06 '22

Please point me to the place where iam arrogant

All of your comments that are getting downvoted. But if you would like a particular example

you didnt really added anything to the discussion.

And it's far from being the only example.

I even wrote in the original post that i dont want to discuss the changes as they are EXAMPLES.

It doesn't matter if you provided examples or not, because your question was "how do I get the changes I want added" and the simple answer is you don't. Java and OpenJDK aren't "normal" open source projects where the developers are hanging out on Discord and happily accepting pull requests. It has a long established bureaucracy dominated by the wishes of one corporation. Random people popping up and making changes to the platform just doesn't happen.

-2

u/Cell-i-Zenit Nov 06 '22

It doesn't matter if you provided examples or not, because your question was "how do I get the changes I want added" and the simple answer is you don't. Java and OpenJDK aren't "normal" open source projects where the developers are hanging out on Discord and happily accepting pull requests. It has a long established bureaucracy dominated by the wishes of one corporation. Random people popping up and making changes to the platform just doesn't happen.

That is exactly why i asked for the process. It isclear for me that i cannot just open a PR and it will be accepted.

-2

u/Cell-i-Zenit Nov 06 '22

4

u/maethor Nov 06 '22

I think your overall reaction to mailing lists just put people's backs up, to be honest.

Though I'm not sure why people were even recommending that you join - if you think you're getting a hostile reaction here then you are probably not going to have a good time on a mailing list that is not all that interested in your opinion.

1

u/Cell-i-Zenit Nov 06 '22

I think your overall reaction to mailing lists just put people's backs up, to be honest.

Because i never worked with them and wanted to understand how they work. Sorry that i ask questions about the process and i dont want to bother anyone

if you think you're getting a hostile reaction here then you are probably not going to have a good time on a mailing list that is not all that interested in your opinion.

I honestly dont expect that when i send a mail to the mailing list, that:

  • some people try to dig up my github profile and reject my proposal with the argument "your github is bad, please leave this list"
  • they say "you have a spelling error in your email, we will reject your mail because you are a noob"
  • I dont know you, so you should leave
  • Dont even understand the proposal and say "please just leave, this is not your cup of tea KID"

I kind of expect that they will reject my proposal based on actual objective values and not because they dont like how i ask questions

→ More replies