JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
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)
A DESCRIPTION OF THE PROBLEM : The compiler fails to compile a piece of valid Java code: Give the following Stream. Stream<String> items = Arrays.asList("1","2","3","4","5").stream()The error the compiler generates when using the primitive integer version is the following
A DESCRIPTION OF THE PROBLEM : When an array for which a getter/setter exists is made public, it is completely ignored by XMLEncoder.writeObject().It simply breaks when changing from Java 6 to Java 7 without giving any error messages. REGRESSION. Last worked in version 6u26.
Result: ConcurrentModification even though the list was never modified (it was always empty). Should be: NoSuchElementException. Result is correct if remove(0) is called, or if LinkedList is used. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See source code`.
A DESCRIPTION OF THE PROBLEM : You can create a file that Java's java.io.File class cannot read. This is because file names are actually byte-arrays in the os but java.io.File takes a String for a file name (which is composed of Unicode characters).