Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
None
-
IBM JDK6 or IcedTea/Open JDK 7.
Description
When building Commons VFS RC1 with IBM JDK 6 and IcedTea/OpenJDK 7, Jörg Schaible reported an issue with:
java.lang.RuntimeException: java.security.NoSuchAlgorithmException: EC AlgorithmParameters not available". at org.apache.commons.vfs2.provider.http.HttpFileContentInfoFactory.create(HttpFileContentInfoFactory.java:51) at org.apache.commons.vfs2.provider.DefaultFileContent.getContentInfo(DefaultFileContent.java:806) at org.apache.commons.vfs2.provider.https.test.GetContentInfoFunctionalTest.testGoogle(GetContentInfoFunctionalTest.java:76) ..
The test tries to fetch https://www.google.com/images/logos/ps_logo2.png
This seems like a bug in OpenJDK distributions and whatever SSL methods https://www.google.com/ requests that day.
However I don't think building should rely on www.google.com - if anything we should rely on https://www.apache.org/ - e.g. https://www.apache.org/licenses/LICENSE-2.0.txt which presumably won't go away soon.
Attachments
Issue Links
- relates to
-
VFS-427 [HTTP] NPE on HttpFileObject.getContent().getContentInfo()
- Closed