-
Bug
-
Resolution: Unresolved
-
P4
-
1.4.0, 14
-
Cause Known
-
generic
-
generic
In this class, if the security manager is not null, you
do a url.openConnection.getPermission to determine what
perms are needed. Then later, if the
image isn't in the cache, you do a createImage(new URLImageSource(url))
which essentially does a second openConnection. Could
you cache the URLConnection returned from openConnection,
then call the public URLImageSource(URL u, URLConnection uc) method
instead? This will save the overhead of having to create a new
connection.
BTW, there isn't a release "merlin-fcs" for this subcategory...
###@###.### 2002-02-19
do a url.openConnection.getPermission to determine what
perms are needed. Then later, if the
image isn't in the cache, you do a createImage(new URLImageSource(url))
which essentially does a second openConnection. Could
you cache the URLConnection returned from openConnection,
then call the public URLImageSource(URL u, URLConnection uc) method
instead? This will save the overhead of having to create a new
connection.
BTW, there isn't a release "merlin-fcs" for this subcategory...
###@###.### 2002-02-19