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

IllegalArgumentException is not thrown from deriveFont(null)

XMLWordPrintable

    • 2d
    • beta
    • x86, sparc
    • linux, solaris_7, windows_nt
    • Verified

      According to jdk docs
      public Font deriveFont(AffineTransform trans)
      Throws IllegalArgumentException - if trans is null
      However from b38 onwards a NullPointerException is thrown.

      sample test attached.

            dougfelt Doug Felt
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: