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

TEST_BUG: test/java/awt/print/PrinterJob/Legal/PrintTest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • None
    • 2d
    • b56
    • x86
    • linux

      IAE occurs in linux with CUPS enabled.

      Machine name: peas

      jgodinez/tmp> /export/jdk/b52/linux-i586/jdk1.6.0/bin/java PrintTest
      printService = [Ljavax.print.PrintService;@b162d5
      printService length= 0
      Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: services must be non-null and non-empty
              at javax.print.ServiceUI.printDialog(ServiceUI.java:149)
              at PrintTest$PrintUtils.print(PrintTest.java:140)
              at PrintTest$PrintUtils.printComponent(PrintTest.java:116)
              at PrintTest.jMenuItem1_actionPerformed(PrintTest.java:103)
              at PrintTest$1.actionPerformed(PrintTest.java:53)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1818)
              at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2139)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232)

            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: