Results for “java example programs array error problem issue code python 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
Submit a new issue report - Java Issue Tracker
Issue Details Provide as much information as you can here to help us understand the problem. You can add any confidential information (Java hs_err log files for example) to the "Confidential info" field. This information won't be included in the public bug report.
bugs.java.com
Bug ID: JDK-7094245 XMLEncoder completely ignores arrays when...
The workaround is of course simple: Dont make your fields public. Unfortunately this is difficult when using software that is affected by this bug and for which no source code is available. It simply breaks when changing from Java 6 to Java 7 without giving any error messages.
bugs.java.com
Bug ID: JDK-5107292 Generic array initialization expressions are...
Now, with Java1.5, Comparable is a generic type. Thus, after genericification, the above source code line, should read.STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Compile the provided source code (e.g.: with "javac com/mn/tools/test/bugs/java/GenericArrayTest2.java").
bugs.java.com
Bug ID: JDK-8013843 15.10.3: Array access for array-bounded...
GenericTest.java:6: error: array required, but CAP#1 found return foo.call()[0]Last worked in version 5.0. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Attempt to compile the source code included with this report.