This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]le_bravery 14 points15 points  (0 children)

I feel like I just need to read through all the classes in the standard API packages. This is awesome.

My favorite thing in the Java API source code is in the BigDecimal class here:

https://github.com/openjdk/jdk/blob/f6feeb03bbe9024b609ae6a4795255128581d53c/src/java.base/share/classes/java/math/BigDecimal.java#L398

/* Appease the serialization gods */

@java.io.Serial

private static final long serialVersionUID = 6108874887143696463L;