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

javap on-line man page inconsistently describes default behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.2
    • 1.3.0
    • docs
    • None
    • 1.2.2
    • generic
    • generic

        From the "Description":

        The javap command disassembles a class file. Its output depends on the options
        used. If no options are used, javap prints out the public fields and methods of
        the classes passed to it.

        [ Showing only "public fields and methods" is the description for "-public". ]

        From the "Options":

        -package
         Shows only package, protected, and public classes and members. This is the
         default.

        The "Description" is incorrect. As stated in the "Options" section, the
        default behaviour is identical to using "-package".

        -- iris.garcia@eng 1999-10-28

              asommere Alan Sommerer (Inactive)
              iris Iris Clark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: