bugs.java.com
JDK-4836743 - Java Issue Tracker
One customer passes the zero length array to a Microsoft API (DirectDraw) which accesses the first character in the zero length array. This is clearly a bug ...
One customer passes the zero length array to a Microsoft API (DirectDraw) which accesses the first character in the zero length array. This is clearly a bug ...
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.