commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Patch: java.net.URLConnection


From: Michael Koch
Subject: FYI: Patch: java.net.URLConnection
Date: Sun, 25 Jan 2004 14:45:12 +0100
User-agent: KMail/1.5.4

Hello list,


I just commited the attached patch to do lazy initialization of fileNameMap as 
mentionened in SUNs API docs.


Michael


2004-01-25  Michael Koch  <address@hidden>

        * java/net/URLConnection.java
        (fileNameMap): Don't initialize. Initialization should be lazy.
        (guessContentTypeFromName): Get filename map from getFileNameMap().
        (getFileNameMap): Made it synchronized. Initialize fileNameMapa if
        needed.

Attachment: urlconnection.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]