Name: rmT116609 Date: 02/09/2004
FULL PRODUCT VERSION :
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
Here are some problems I noticed on reading the class javadoc for
the Scanner class. The line numbers given are for the file
Scanner.java, not the HTML file.
First, in the paragraph starting at line 98, the second sentence
reads 'The delimiting pattern "\\w" could return empty tokens
since it only passes one space at a time.' But if the pattern is
supposed to match spaces, it should be "\\s", not "\\w" (and the
pattern in the first sentence should be "\\s+").
Second, in the number syntax grammar starting at line 192, all
the definitions in the right-hand column are center-aligned,
making them very difficult to read. They need to be explicitly
left-aligned, just as the production names in the left-hand
column are explicitly right-aligned.
REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 237491)
======================================================================