r/java • • Sep 02 '24

Java Classloaders Illustrated

408 Upvotes

Classloaders are tricky – popular sources (Wikipedia, Baeldung, DZone) contain outdated, sometimes contradictory information, and this inconsistency was the trigger for writing my article – a search for clarity in the ClassLoader System maze. Read full at Medium (~10 min) with pictures :)

The whole system looks kinda like this:


r/java • • Aug 21 '25

Look how they massacred my boy (Apache Commons Lang)

405 Upvotes

Seriously, what madness drove the commons lang contributors to deprecate StringUtils.equals()?

I'm gonna rant for a bit here. It's been a long day.

I spend all morning in an incident call, finally get time to do some coding in the afternoon.

I make progress on a bug fix, clean up some dead code like a good boy scout, and I’m feeling like I actually accomplished something today.

Oh, this service is getting flagged for CVE-2025-48924? Let me take care of that.

And then, confusion. Anger.

Deprecated method? StringUtils.equals()? That can't be.

Sure as shit, they deprecated it. Let's see what has been replaced with.

Strings.CS.equals()? Is that character sequence? No, it's case sensitive. Fucking hell. I harp on juniors for their silly acronyms. Did not expect to see them in a library like this. Just unnecessary. If Java developers had a problem with verbosity, well, they wouldn't be Java developers.

I'll admit I've been an open-source leech, contributing nothing to the community, but this one has lit a fire in me.

If this issue isn't resolved, are there any volunteers to help with a fork? I feel like common-sense-lang3 would be an appropriate name for an alternative.

https://issues.apache.org/jira/projects/LANG/issues/LANG-1777?filter=allopenissues


r/java • • Mar 22 '22

Java 18 released!

Thumbnail mail.openjdk.java.net
396 Upvotes

r/java • • Aug 03 '25

Teach Me the Craziest, Most Useful Java Features — NOT the Basic Stuff

392 Upvotes

I want to know the WILD, INSANELY PRACTICAL, "how the hell did I not know this earlier?" kind of Java stuff that only real devs who've been through production hell know.

Like I didn't know about modules recently


r/java • • Apr 05 '21

Google's use of the Java SE API found to be fair use

Thumbnail supremecourt.gov
392 Upvotes

r/java • • Dec 03 '14

Every time I need to kill a hung JVM process.

Post image
389 Upvotes

r/java • • Mar 25 '19

JEP draft: Add detailed message to NullPointerException describing what is null

Thumbnail openjdk.java.net
383 Upvotes

r/java • • Oct 07 '17

Finally: Effective Java, 3rd Edition

382 Upvotes

Most of us know well Josh Bloch's Effective Java book. TIL (from Stuart Marks' twitter) that there's a 3rd edition coming out soon and it's updated for Java 9. It's available here . There's a nice 40% 20% (the announcement was wrong) discount for pre-orders.


This is not an ad. I'm not affiliated with any of this. If you find other purchase sources post them.


r/java • • Apr 01 '21

A categorized list of all Java and JVM features since JDK 8 to 16

Thumbnail
advancedweb.hu
381 Upvotes

r/java • • Dec 25 '20

Recaf: Java bytecode reversing tool I've been working on for the past 3.5 years

Thumbnail
github.com
378 Upvotes

r/java • • Nov 29 '21

Fleet - A lightweight editor by JetBrains

Thumbnail
blog.jetbrains.com
374 Upvotes

r/java • • Mar 17 '20

Java 14 is out!

Thumbnail jdk.java.net
365 Upvotes

r/java • • Feb 10 '20

36% of developers switched from Oracle JDK to an alternate OpenJDK distribution, over the last year

Thumbnail
snyk.io
358 Upvotes

r/java • • Jul 08 '20

Java should get a website like developer.mozilla.org

356 Upvotes

It would be incredibly helpful for beginners and experts alike to have a single centralized Java/OpenJDK website. The website can have:

  • Links to download Java, or alternatively links to vendor pages.

  • Javadoc for every version of Java, that lets you easily toggle between versions

  • Tutorials & guides like https://docs.oracle.com/javase/tutorial/ and https://docs.oracle.com/javase/9/index.html

  • Link to submitting a bug report

  • JEP pages

  • Incorporate the OpenJDK wiki's content.

  • News / Blog section. Maybe also incorporate the new Inside Java blog.

  • Maybe some type of forum, but this is not required and may not be wanted anyway.

  • One or two non-intrusive ads to support the project's maintenance or the OpenJDK. Preferably simple image tags, no third-parties. There's lots of Java consulting, framework, and monitoring vendors who would be interested. For the love of god no Ask Toolbar please.

Mozilla's MDN is a great example of what could be. Because the website is opensource (or at least allows contributions), the tutorials and docs are always updated, unlike the Java Tutorials, which are still on version 8. And another benefit is that besides the community, Google and other large companies can contribute too. This eases the maintenance burden for Mozilla, just as it could for Oracle.

While I hate 'marketing' as much as the next guy, having a good looking, centralized website is really important nowadays and will make a much bigger difference than you think when it comes to beginner's interest. And so many of my fellow senior developers are 'cut off' from knowledge, because it's so scattered. Here on a JEP page, here on twitter, here on an old oracle blog. Java needs a 'home base.'


r/java • • Feb 03 '22

Extension that generates Javadocs for you using AI

351 Upvotes

r/java • • Mar 23 '21

Visualize the architecture of your Java app, in VS Code, in 2 ¹/₂ minutes

349 Upvotes

r/java • • Mar 30 '22

Maven is turning 20 today 🥳 To many more years of stable Java builds 🍻

Post image
342 Upvotes

r/java • • Oct 01 '21

Box2D physics toy I started working on

338 Upvotes

r/java • • Apr 14 '14

Okay, IntelliJ, we get it. You don't want us to use Eclipse.

Post image
337 Upvotes

r/java • • Aug 13 '20

Chess GUI using JavaFX

Thumbnail
youtu.be
336 Upvotes

r/java • • Oct 21 '20

What are some great Java libraries I'm probably not using but I should?

334 Upvotes

r/java • • Feb 09 '21

My experimental IDE plugin for displaying all project files in a single view, with zoom/pan and code editing. More info in comments.

329 Upvotes

r/java • • Mar 31 '22

Introduction to Web Scraping With Java

Thumbnail
scrapingbee.com
327 Upvotes

r/java • • Nov 20 '25

Spring Boot 4.0.0 available now

Thumbnail
spring.io
325 Upvotes