-jar sigtest.jar does not work without -static

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: st4.0
    • Component/s: tools
    • None
    • x86
    • solaris_11

      Running the sigtest tool to test the signatures in a library jar file fails to find the classes in the jar file if -static is not used. For example:

      ${JAVA_HOME}/bin/java --add-modules java.se.ee \
              -jar sigtest.jar test \
              -classpath sigtest.jar:javax.mail.jar \
              -Package javax.mail \
              -FileName tests/javax.mail_1.6_java_9.sig

      Produces this output:

      SignatureTest report
      Base version:
      Tested version:
      Check mode: src [throws normalized]
      Constant checking: on


      Missing Classes
      ---------------

      javax.mail.Address
      javax.mail.AuthenticationFailedException
      ...

      The attached zip file reproduces the problem.

            Assignee:
            Victor Rudometov
            Reporter:
            Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: