Hi!
This is the reformatted log entries for my patch #10
(http://article.gmane.org/gmane.comp.java.classpath.patches/12955/).
ChangeLog entries:
* gnu/java/net/PlainSocketImpl.java:
(connect(SocketAddress, int)): Convert thrown
UnresolvedAddressException into UnknownHostException instance.
* gnu/java/net/loader/FileURLLoader.java:
(dir): Make the field private and final.
(FileURLLoader(URLClassLoader, URLStreamHandlerCache,
URLStreamHandlerFactory, URL, URL)): Unquote the path.
* gnu/java/net/protocol/file/Connection.java:
(Connection(URL)): Likewise.
(StaticData): Make the private class final.
(permission): Make the field final.
(StaticData.lineSeparator): Likewise.
(unquote(String)): Directly decode 2- and 3-byte UTF-8 sequences
(instead of calling getBytes() and arraycopy()).
(getDirectoryListing()): Guard against NPE in case file.list() returns
null.
(getHeaderField()): Call getDirectoryListing() instead of
file.isDirectory() (since getDirectoryListing caches the result).
(getContentLength()): Likewise.