JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
A DESCRIPTION OF THE PROBLEM : When an array for which a getter/setter exists is made public, it is completely ignored by XMLEncoder.writeObject(). The same is not true for base data types and objects: they are written to the XML file, although producing different xml output than in 1.6.
A DESCRIPTION OF THE PROBLEM : The Java language knows the language construct "array initializer", which makes specifying arrays with predetermined content in source code quite efficient.
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.