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

DocFlavor.URL.AUTOSENSE throws PrintException on Solaris with build 67.

XMLWordPrintable

    • 2d
    • beta2
    • generic
    • generic
    • Verified


      Attached is a testcase that prints a sample file using DocFlavor.URL.AUTOSENSE.

      The program was tested on Sparc Solaris 7 with build 67. The above
      docflavor was not supported till build 66.
      The program works fine when run on Windows.
      The printer used is a Lexmark Optra S 1855 postscript printer.

      The following exception is thrown when the program is run.

      javax.print.PrintException: unrecognized class: java.net.URL
              at sun.print.UnixPrintJob.print(UnixPrintJob.java:390)
              at PrintAutoSenseData.print(PrintAutoSenseData.java:49)
              at PrintAutoSenseData.<init>(PrintAutoSenseData.java:34)
              at PrintAutoSenseData.main(PrintAutoSenseData.java:56)

      Source File: PrintAutoSenseData.java
      Resource File: sample.txt

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: