Results for “java sample program code example site:bugs.java.com interview”
bugs.java.com
Bug ID: JDK-4650902 REGRESSION: Applets do not receive VK_TAB...
Code that requires this functionality > should instead disable focus traversal keys on its Components and > handle focus traversal itself. Alternately, the code can use an > AWTEventListener or KeyEventDispatcher to pre-listen to all KeyEvents.
bugs.java.com
Bug ID: JDK-6969251 Inconsistent return values from...
See below for sample code that demonstrates the problem.STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Run attached demonstration code and examine output. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - I'd expect the program to print this
bugs.java.com
Bug ID: JDK-8261970 reutilization of org.w3c.dom.ls.LSSerializer...
In the below example setting useThreadLocalSerializer=true reuses the LSSerializer. While setting useThreadLocalSerializer=false, both 8u251 and 8u271 provide the same result, but with useThreadLocalSerializer=true, they provide different result. Code Sample
bugs.java.com
Bug ID: JDK-4197666 Socket descriptors leak into processes spawned...
I have included simple Java programs that demonstrate this bug.You can use the sleep argument with TCPServer to get to hang around before exiting, this allows you to make sure TCPClient can connect succefully when TCPServer is still running. Sample code