JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code for inner class constructors in the wrong order. Therefore ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code for inner class constructors in the wrong order. Therefore ... For example, the following program would fail at runtime: <pre> ...
The behaviour can even be "cloaked" by using java.util.regex classes: Matcher.group() etc. which seem to use substring internally for String extraction. This way it's nearly impossible to detect the memory leak. This behaviour is totally independent of OS, Java Version, VM type etc.
File an issue Hitting a snag with your Java application and can't find anything in search? Have a small enhancement suggestion for the JDK? File a new issue!
The new version of CATIA V5 will be using J2SE 1.6.0 (versus 1.5.0 up to now) However one of the tests fails. This test concerns the interaction of a Java AWT based applicaiton with C++ libraries going through JNI and JAWT.
import java.io.BufferedReader; import java.io.InputStreamReader; import java.nio.charset.Charset; public class process_test {.String line
A DESCRIPTION OF THE PROBLEM : The following cutdown when compiled using standard javac will produce a class file which when run will consume over 2gig of memory once the program has stopped executing (ie after the final println). The amount of memory consumed is altered by altering the initial value of the variable k.
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 read
Lister.java defines a class that lists files in the current directory. For each file, it spits out the (a) 'toString()' version of the file, (b) the char array of the name as hex, and (c) the 'getBytes' byte array of the name.