Just so I understand, you're saying that an instance of URLConnection is assumed to be a JarURLConnection and in some cases it's not. I don't know that there's much to decide. If the API says URLConnection and there's no documentation/comment/assertion to indicate that is MUST be a JarURLConnection, then the code needs to be patched to support this condition. It's probably just some quickly written code that no one came back to.
Do you have a suggested patch for fixing the class? -Nathan On Sun, Jul 27, 2008 at 5:32 AM, Senaka Fernando <[EMAIL PROTECTED]>wrote: > Hi all, > > HARMONY-1187, [1] can be solved if we choose not to assume that the > URLConnection is not an extension of java.net.JarURLConnection. However, we > need to decide on this. The file in question is [2]. > > [1] https://issues.apache.org/jira/browse/HARMONY-1187 > [2] > working_classlib/modules/luni/src/main/java/java/net/URLClassLoader.java > > > Regards, > Senaka >
