amit170394 / sardine

Automatically exported from code.google.com/p/sardine
0 stars 0 forks source link

sardine-71 had dependancy on java 1.6 (ssl was broken) #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sardine sardine = SardineFactory.begin("aa", "bb");

What is the expected output? 
A successful connection.

What do you see instead?
java.lang.NoSuchMethodError

What version of the product are you using? On what operating system?
Sardine-71
Java 5
Win32 Vista

Please provide any additional information below.

Maybe not really a bug but when you don't use a keystore, the following
line (114) is called in SardineImpl:

SSLContext context = SSLContext.getDefault();

The method getDefault is only available in Java 1.6. So the documentation
should mention a dependency on 1.6 or the code needs to be adjusted so the
scheme 'https' is only registered when there is a keystore present.

Original issue reported on code.google.com by soccer...@gmail.com on 28 Jan 2010 at 11:25

GoogleCodeExporter commented 9 years ago
grrrr... sorry about that. i'll have that fixed asap.

Original comment by latch...@gmail.com on 28 Jan 2010 at 3:18

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r73.

Original comment by latch...@gmail.com on 28 Jan 2010 at 6:46

GoogleCodeExporter commented 9 years ago

Original comment by latch...@gmail.com on 29 Jan 2010 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by latch...@gmail.com on 29 Jan 2010 at 6:45