Hi,

I noticed a difference between Sun's ImageIcon constructor taking a
URL parameter and Classpath's one.
The Sun API doc says : "The icon's description is initialized to be a string
representation of the URL.". Whereas in classpath the doc says : "[...] without
any description set."
The description should be the same as in SUN implementation, probably
url.toString().

So here is a patch doing that.

Regards,

Yvan

Attachment: ImageIcon.java.patch
Description: Binary data

Reply via email to