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

pack200 documentation error

XMLWordPrintable

    • b16
    • Not verified

      In http://docs.oracle.com/javase/7/docs/technotes/tools/share/pack200.html, consider the text for these four options:

      -Cattribute-name=layout --class-attribute=attribute-name=action
      -Fattribute-name=layout --field-attribute=attribute-name=action
      -Mattribute-name=layout --method-attribute=attribute-name=action
      -Dattribute-name=layout --code-attribute=attribute-name=action

      The text says the possible values for action are:

      some-layout-string
      error
      strip

      However, the text then uses "pass" as a value for action:

      "Example: --class-attribute=CompilationID=pass will cause the class file containing this attribute to be passed through without further action by the packer."

            rgallard Raymond Gallardo
            abuckley Alex Buckley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: