org/jboss/logging/Log.java:
Changed use of deprecated DataInputStream.readLine method to use preferred
BufferedReader.readLine instead in debug(Throwable) and exception(Throwable) methods
as recommended in the java API docs (see
http://java.sun.com/j2se/1.3/docs/api/java/io/DataInputStream.html#readLine() ).
Here is the diff, with the new version of the file first. Note that the only 2
lines that have changed are lines 145 and 162.
bash-2.02$ diff -bB org/jboss/logging/log.java /tmp/saved/log.java
145c145
< BufferedReader din = new BufferedReader(new InputStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
---
> DataInputStream din = new DataInputStream(new
ByteArrayInputStream(baos.toByteArray()));
162c162
< BufferedReader din = new BufferedReader(new InputStreamReader(new
ByteArrayInputStream(baos.toByteArray())));
---
> DataInputStream din = new DataInputStream(new
ByteArrayInputStream(baos.toByteArray()));
bash-2.02$
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development