Results for “java method class object string code example python 1 2 site:bugs.java.com”
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
bugs.java.com
Bug ID: JDK-4496456 Segmentation fault introspecting ((Throwable)...
In constructing a generic object introspection tool for debugging purposes, we found that retrieving the class name for the object at throwable.backtrace[0][0] consistently segfaults (where throwable is an instance of java.lang.Throwable). (see comments). A minimal test case
bugs.java.com
Bug ID: JDK-6855230 Call to dispose a JFRAME in a ShutdownHook...
@Override public void run() { frame.dispose(); ... } But if dispose the frame in a Shutdown hook, the application will not be closed after you close the frame: (at least on Windows) import javax.swing.*; public class b6855230 { static JFrame frame; public static void main(String[] args)...