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

Calling print method of DocPrintJob more than once causes VM exception

    XMLWordPrintable

Details

    • 2d
    • x86
    • windows_98, windows_nt

    Description

      OS: Win98 and WinNT

      The sample code attached creates a DocPrintJob for each supported value in PrinterResolution attribute. The program prints an image for the first supported attribute value and crashes in the second one.
      The sample code was tested in Win98 and WinNT and both have the same problem.
      Solaris doesn't support PrinterResolution attribute.

      The log file is attached.

      Source File: PrinterResolution.java
      Resource File: fish.gif
      Log File: error.log

      Attachments

        Activity

          People

            jgodinez Jennifer Godinez (Inactive)
            kbalasubsunw Kannan Balasubramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: