hg: jdk7/tl/langtools: 6668802: javac handles diagnostics for last line badly, if line not terminated by newline

jonathan.gibbons at sun.com jonathan.gibbons at sun.com
Thu Mar 6 10:25:01 PST 2008


Changeset: 508c01999047
Author:    jjg
Date:      2008-03-06 10:25 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/508c01999047

6668802: javac handles diagnostics for last line badly, if line not terminated by newline
Summary: use CharBuffer.limit(), not the length of the backing array
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/util/Log.java
+ test/tools/javac/T6668802.java




More information about the serviceability-dev mailing list