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

Xserver crashes when a high value is entered in Font2DTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • 2d
    • beta3
    • x86
    • windows_2000
    • Verified

      jdk : build 79 and 80
      OS : Solaris 2.6, 2.8, Windows 2000

      -Install the jdk
      -Launch Font2DTest Demo from command line
      -Empty the text box for size. A number format exception is thrown at the command line in Windows 2000, RH Linux 7.1, Solaris 6 and Solaris 8. This should be a user friendly message to enter some value in the text box
      -Enter a very high value like "20000000000000" in the text box and hit enter
      - In windows again number format exception is thrown and it looks like it is because of the type which does not support this high value
      -In Sparc Solaris 6 and 8 , it crashes the complete OS

      This does not happen in jdk1.3.1


      I think validation needs to be done for the text box and the exception should be caught and put up as a user friendly message

            prr Philip Race
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: