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

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

XMLWordPrintable

    • 2d
    • beta
    • generic
    • generic



      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]

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: