Uploaded image for project: 'Commons Crypto'
  1. Commons Crypto
  2. CRYPTO-103

NativeCodeLoader.getVersion() is not needed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      The NativeCodeLoader.getVersion() method seems badly named, as it has nothing to do with the native code that has been loaded.

      It only relates to the version of the Java code in the jar.

      I would expect the method to return the version details from the library itself.

      If there is a need to return the Java code version, it should be done from a method in another class, e.g. Utils or Crypto. Note: also the extraction should be done once, e.g. using IODH or using a synchronised/volatile lock.

      Attachments

        Activity

          People

            dapengsun Dapeng Sun
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: