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.Create String from char array, release dummy char array. String longString = new String(bigCharArray)
It's an error in java.lang.String source code which is the same for all JDK distributions.Create String from char array, release dummy char array. String longString = new String(bigCharArray)
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
At Oracle we are committed to helping users resolve problems faced using Java software. Here are some support options that you can use to reach a solution for your problem.
When run with Java 1.6_21 the code works fine regardless of the access specifier of arr. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The console should readOverride public String toString() {. return Arrays.toString(arr)
This release addresses security concerns. Oracle strongly recommends that all Java SE users upgrade to this release. Please install this free Java Update by clicking on the Update button on the Java Update window.
Basic troubleshooting tips for Java issues If you are having problems related to Java, the following tips should help you getting things working. » Download and Install Java » Use Java » Test Java » Remove Old Versions of Java » Find Java » Always redirected to the java.com download page
How do I enable Java in my web browser? What is Java Update and how do I change the update schedule? Where is the Java Control Panel on Mac? Error: Exception_Access_Violation Various security dialogs for expired certificate applications Error: x64.exe not a valid Win32 application How to find Java version in Windows or Mac - Manual method