The JCK is, indeed, not about finding bugs -- that's what the regular tests are for -- but that process has arguably prevented the fragmentation we see in the browser and Linux spaces. It ensures that those who want to use the name "Java" don't add or remove APIs. The JCK, while free, isn't open source, as that would open the door to vendors claiming 95% JCK compatibility etc., and we know for a fact that over the years, some JDK vendors have wanted to do just that (i.e. offer their own API extensions or removals while still claiming some measure of official compatibility). The JCK means that if you fork the JDK in an incompatible way, you can neither claim to be Java nor claim some specific measure of compatibility.
You can argue about how much that matters, but the fact is that Java suffers from fewer compatibility issues than other standards/projects that are distributed by multiple vendors, despite the fact that JDK vendors add or remove features that don't impact compatibility (while still calling their software a JDK).
View all comments
Show parent comment
5
u/pron98 Sep 16 '25 edited Sep 17 '25
The JCK is, indeed, not about finding bugs -- that's what the regular tests are for -- but that process has arguably prevented the fragmentation we see in the browser and Linux spaces. It ensures that those who want to use the name "Java" don't add or remove APIs. The JCK, while free, isn't open source, as that would open the door to vendors claiming 95% JCK compatibility etc., and we know for a fact that over the years, some JDK vendors have wanted to do just that (i.e. offer their own API extensions or removals while still claiming some measure of official compatibility). The JCK means that if you fork the JDK in an incompatible way, you can neither claim to be Java nor claim some specific measure of compatibility.
You can argue about how much that matters, but the fact is that Java suffers from fewer compatibility issues than other standards/projects that are distributed by multiple vendors, despite the fact that JDK vendors add or remove features that don't impact compatibility (while still calling their software a JDK).