Java 8 release changes
With the --allow-script-in-comments option, the javadoc tool will preserve JavaScript code in documentation comments and command-line options. ... example, arrays ...
With the --allow-script-in-comments option, the javadoc tool will preserve JavaScript code in documentation comments and command-line options. ... example, arrays ...
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.
It simply breaks when changing from Java 6 to Java 7 without giving any error messages.It contains a single int array. An instance is created, one of the array elements is changed and the array is written to the console. Then the instance is saved using XMLEncoder.writeObject().