sahaya / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

StackOverflowError on RestAssured.certificate #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to execute the method certificate on the RestAssured class:
RestAssured.certificate(certURL, password, certType, 443);

What is the expected output? What do you see instead?
No error. StackOverflowError

What version of the product are you using? On what operating system?
1.8.1

Please provide any additional information below.
The source code of RestAssured.java has a bug:

public static AuthenticationScheme certificate(String certURL, String password, 
String certType, int port) {
        //this will call the same method
        return certificate(certURL, password, certType, port);
}

instead of:

public static AuthenticationScheme certificate(String certURL, String password, 
String certType, int port) {
        return certificate(certURL, password, certType, port, new NoKeystoreSpecImpl());
}

Original issue reported on code.google.com by douglasd...@gmail.com on 7 Nov 2013 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 11 Nov 2013 at 7:20