Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] (no subject)


The URL is constructed without define any implementation.
u = new URL(b.toString());

This change should fix it :
HTTP
= new URL(b.toString(), new sun.net.www.protocol.https.Handler());

HTTPS
= new URL(b.toString(), new sun.net.www.protocol.https.Handler());

Never do this. This potentially binds you to a specific implementation of a specific JRE vendor and version.


This is wrong. It’s not a solution but just hiding the problem by using a workaround.

I agree with Alex that something must be wrong on your class path and with your JRE/JDK.

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx






Back to the top