Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6617521

com.sun.tdk.signaturetest.Setup.run()/main() methods return nothing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • st2.1
    • st1.5.2
    • tools
    • b01
    • b01
    • generic
    • generic
    • Verified

      Since both public "void run(String[] args, PrintWriter pw, PrintWriter ref)" and "public static void main(String[] args)" that can only be used for building a signature file(s) don't return anything and don't throw a exception, it's impossible from outside to fully realize what happened after calling a method.
      It makes sense to add an integer return code to these methods.

            ersh Mikhail Ershov (Inactive)
            lkuskov Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: