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

Unexpected output from `java -Djava.security.debug=help`

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      The security guide contains this advice around use of the security debug property:

      ==
      To see a list of all debugging options, use the help setting:
      java -Djava.security.debug=help
      ==

      That option doesn't seem to work since JDK 10. Instead we get the standard java usage help message...

      $ ~/jdk/jdk-10/bin/java -Djava.security.debug=help
      Usage: java [options] <mainclass> [args...]
                 (to execute a class)
         or java [options] -jar <jarfile> [args...]
                 (to execute a jar file)
         or java [options] -m <module>[/<mainclass>] [args...]
             java [options] --module <module>[/<mainclass>] [args...]
                 (to execute the main class in a module)
      .....

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mullan Sean Mullan
                Reporter:
                coffeys Sean Coffey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: