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

Printing in Windows with unsupported MediaSizeName attribute causes VM crash.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • 2d
    • beta2
    • generic
    • windows_nt

      Using this code causes EXCEPTION_ACCESS_VIOLATION in native code _startDoc.

      HashPrintRequestAttributeSet prSet = new HashPrintRequestAttributeSet();
      prSet.add(MediaSizeName.NA_5X7);

      try {
                      job.print(doc,prSet);
              } catch(Exception e) {
                      e.printStackTrace();
              }

      Using any printer that does not support 5 X 7 paper.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: