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

summary javadoc for java.awt.GraphicsEnvironment#preferProportionalFonts broken

XMLWordPrintable

    • b17
    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      the javadoc summary for preferProportionalFonts() is broken due to javadoc tuncating mid sentence when seeing a full stop followed by a whitepsace character in the "e.g. "



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      go to https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/GraphicsEnvironment.html and look at the javadoc summaries for all the methods paying special attention to the summary for preferProportionalFonts

      Observe the summary is "Indicates a preference for proportional over non-proportional (e.g."



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the summary is not truncated after the e.g and should be a full sentence.
      ACTUAL -
      Observe the summary is "Indicates a preference for proportional over non-proportional (e.g."


      CUSTOMER SUBMITTED WORKAROUND :
      use inference

      FREQUENCY : always


            aivanov Alexey Ivanov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: