[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    hg: jdk7/tl/langtools: 6668802: javac handles diagnostics for last line badly, if line not terminate
From:       jonathan.gibbons () sun ! com (jonathan ! gibbons at sun ! com)
Date:       2008-03-06 18:25:01
Message-ID: 20080306182503.3BBDE263FF () hg ! openjdk ! java ! net
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic