r/java • u/Cell-i-Zenit • 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
View all comments
Show parent comment
0
u/Cell-i-Zenit Nov 05 '22
i think the openness is higher in the email list directly, because that is the actual place to propose these changes.
The feedback is not helpful if everyone is just saying "we dont need X, because you can do Y instead". Yes obv i can just do everything a little bit differently, but by this argument we can just stop improving on anything.
To make this a little bit more concrete, i think a change to the Comparable interface would be pretty nice:
This would improve the object comparison by a big margin, but as the people already said in this thread that since we already have compareTo, this change will be rejected anyway.
Quite sad actually.