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

Add line break opportunity to single type parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 20
    • tools
    • None
    • b17
    • generic
    • generic

      When linking a generic type with a single type parameter we do not currently add a line break opportunity (`<wbr>`). However, since type arguments can be nested these types can get quite long. This can trigger horizontal overflow/scrolling where we don't want it, like in the first column of the method summary table (see attached screenshot).

      It would probably be preferable to allow the browser to insert line breaks somewhere along the type parameter boundaries.

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: