backport from main
exactly one blank line before and after package statements
remove redundant initializations to null or 0
javadoc typo fixes from Sergey Malenkov; https://bugs.openjdk.java.net/browse/JDK-8022746
optimize peek
optimize toArray
Create src/jdk7 package
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.