Replace a class within the Java class library with a custom version
As mentioned by the other answers, you could in theory of course unzip your JVM’s rt.jar file and replace the file with a compatible bugfixed version. Any classes of the Java Class library such as those of Swing are loaded by the bootstrap class loader which looks up its classes from this rt.jar. You can … Read more