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

javax.print.attribute.standard.Fidelity: getName() returns wrong string

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: ooR10006 Date: 03/05/2001


      The spec for javax.print.attribute.standard.Fidelity, getName() method says:

      "...For class Fidelity the category name is "printer-is-accepting-jobs"..."

      In fact, merlin b54 API implementation, getName() returns "ipp-attribute-fidelity" string.
      The following test shows this:

      import javax.print.attribute.standard.Fidelity;

      public class Test {
          public static void main(String[] args){
              System.out.println(Fidelity.FIDELITY_FALSE.getName());
              return;
          }
      }

      Due to this new JCK test fails:
      api/javax_print/attribute/standard/index.html#GetName[Fidelity2005]

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            jballsunw Jennifer Ball (Inactive)
            Reporter:
            ovosunw Ovo Ovo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: