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

Negative height or width should be forbidden

    Details

      Description

      Look at the attached test case, and in SB linked issue :
      the API allows negative values. It does not make sense.
      Only specific value such as -1 (USE_COMPUTED_SIZE) or -Infinity (USE_PREF_SIZE) should be permitted when it is possible.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rbair Richard Bair
                Reporter:
                jcambon Jerome Cambon
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: