962584 wrote:Oooerrr - one is not supposed to use any of the Sun private classes (indicated by a a package starting with 'sun' ). On the surface you seem to be using the same methods as are available in java.net.HttpURLConnection but for some reason you don't mention you are not using a URL object as a factory to create a java.net.HttpURLConnection . This seems to me to be a design flaw.
In DAVURLConnection (Url , protocol, port) construtor, we are calling super(u, host, port) constructor of sun.net.www.protocol.http.HttpURLConnection.
962584 wrote:So change the code to do it properly and use a URL object as a factory !!!!!!!!!!!!!!!!!!
This is already constructed code and is running years together in WAS 5.1 for users. Now we cannot do any design changes, but if we want we can change code if needed.