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

User gets logged out while printing all the system fonts using PrinterJob,on Sol

XMLWordPrintable

    • 2d
    • sparc
    • solaris

      On Solaris, I am trying to get all the fonts from the LocalGraphicsEnvironment
       and printing all of them using Printerjob and Printable of java.awt.print.
      Whenever i execute this application, i am getting logged out immediately and
      this occurs only on Solaris. On IA Solaris, application hangs. On windows
      it is working fine. I could not debug this code since i have been logged out
      everytime i executed this code.

      I am just rendering all the fonts to the graphics context of the printer thro'
      printable interface.
      I tested this with Solaris 7,8, IA Sol 7 machines and with merlin build-63.

      Herewith I have enclosed the sample code which reproduces this bug.
      Compile and run the sample code. Wait until you get the message 'Printing Over'
      in the console. You would see lot of fonts being rendered on the frame.
      After sometime, you would be logged out automatically.

            prr Philip Race
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: