JDK-2163411 : javax.swing.border.TitledBorder.getBaseline() doesn't throw IAE when width is < 0
  • Type: Backport
  • Backport of: JDK-6625450
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2008-05-30
  • Updated: 2012-03-22
  • Resolved: 2009-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14 b02Fixed 7Fixed
Comments
EVALUATION TitledBrder should do the same as its super class does: if (width < 0 || height < 0) { throw new IllegalArgumentException( "Width and height must be >= 0"); }
02-02-2009

WORK AROUND We'll defer this to later 6 update release since this bug has been reproducible always since it was added in jdk6 and has a very low real impact.
30-10-2008