Closed GoogleCodeExporter closed 9 years ago
Please see http://github.com/mfriedenhagen/powermockitotest/raw/master/README
for the stacktrace and
http://github.com/mfriedenhagen/powermockitotest/blob/master/src/test/java/power
mockitotest/powermockitotest/SslConnectionWithPreparedClassTest.java for the
test class.
Original comment by mfriedenhagen
on 30 Oct 2010 at 8:02
It could be because the algorithm is being loaded by the PowerMock classloader.
Try using the @PowerMockIgnore annotation, e.g.
@PowerMockIgnore("org.apache.http.client.*") or
@PowerMockIgnore("java.security.*") or some other combinations.
Let us know if it works or not.
Original comment by johan.ha...@gmail.com
on 2 Nov 2010 at 9:34
Hello,
I tried different combinations and @PowerMockIgnore("javax.*") did the trick.
Thanks for the suggestion.
Regards
Mirko
Original comment by mfriedenhagen
on 2 Nov 2010 at 7:05
Great to hear!
Original comment by johan.ha...@gmail.com
on 2 Nov 2010 at 7:42
Original issue reported on code.google.com by
mfriedenhagen
on 30 Oct 2010 at 7:22