Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4259564

rmid's usage message is incomplete and inconsistent with other tools

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description

      rmid's usage message:

      use: rmid [-port num] [-log dir] [-stop] [-Coption]

      does not include the "-J" option for passing options to the underlying VM/runtime (for, say, setting the security policy file), and it is rather terse compared to the more verbose usage message of other J2SE SDK tools, like rmic's:

      Usage: rmic <options> <class names>
       
      where <options> includes:
        -keep Do not delete intermediate generated source files
        -keepgenerated (same as "-keep")
        -v1.1 Create stubs/skeletons for JDK 1.1 stub protocol version
        -vcompat (default) Create stubs/skeletons compatible with both
                                 JDK 1.1 and 1.2 stub protocol versions
        -v1.2 Create stubs for JDK 1.2 stub protocol version only
        -iiop Create stubs for IIOP. When present, <options> also includes:
       
                         -always Create stubs even when they appear current
                         -alwaysgenerate (same as "-always")
                         -nolocalstubs Do not create stubs optimized for same process
       
        -idl Create IDL. When present, <options> also includes:
       
                         -noValueMethods Do not generate methods for valuetypes
                         -always Create IDL even when it appears current
                         -alwaysgenerate (same as "-always")
       
        -g Generate debugging info
        -depend Recompile out-of-date files recursively
        -nowarn Generate no warnings
        -nowrite Do not write compiled classes to the file system
        -verbose Output messages about what the compiler is doing
        -classpath <path> Specify where to find input class files
        -sourcepath <path> Specify where to find user source files
        -bootclasspath <path> Override location of bootstrap class files
        -extdirs <path> Override location of installed extensions
        -d <directory> Specify where to place generated class files
        -J<runtime flag> Pass argument to the java interpreter

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mwarressunw Michael Warres (Inactive)
                Reporter:
                peterjones Peter Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: