Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-605

[HTTP] EC AlgorithmParameters not available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stain Stian Soiland-Reyes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: