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

DocPrintJob.getAttributes() should return PrintJobAttributeSet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • beta
    • sparc
    • solaris_7

          The existing method DocPrintJob.getAttributes() declares that
              it returns AttributeSet. But this set will only contain
              PrintJobAttribute instances, so is really a PrintJobAttributeSet,
              which is an extension of the AttributeSet interface.
              and that is what the implementations in fact create and return.
              The API was less restrictive to permit the return of a request
              set before job submission, but the API evolved since then to
              supply the request set only at submission time. So this is now out
              of date and the getAttributes method needs to be corrected.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: