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

(jdeps) Shorten output from jdeps when possible

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 11, 12
    • tools
    • None
    • generic
    • generic

      When running jdeps on a relatively simple app like HelloWorld the output will look something like this (the formatting seems to get lost in Jira, but the point is that the lines are very long):

      $ jdeps ~/HelloWorld.class
      HelloWorld.class -> java.base
         <unnamed> -> java.io java.base
         <unnamed> -> java.lang java.base

      In particular, even though the module and package names are relatively short, the lines jdeps output are in this case ~117 columns wide. If the terminal (window) has fewer columns than that the output will be very hard to read.

      When possible jdeps should make the output more compact to better fit the terminal.

            mchung Mandy Chung (Inactive)
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: