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

PIT: isAttrValueSupported and getSupportedAttrValues are in conflict for Media Attribute, on Linux

    XMLWordPrintable

Details

    • 2d
    • b77
    • x86
    • linux_sun

    Description

      As per the specification, PrintServ.isAttrValueSupported() should return true for all the values returned by getSupportedAttributeValues if the flavor and attribute set are the same. But PrintService.isAttributeSupported and getSupportedAttributeValues are in conflict for 'na-letter' Media attribute value on Linux with CUPS printer installed.

      This is a PIT bug and not reproducible on Mustang-b71. This is not reproducible on WinXP and SOlSparc10 (with CUPS / Non-CUPS). Hence this looks specific to Linux. There is a media related bug fix in B73 PIT - 6362765 and probably this regression may be introduced by this fix. This must be fixed for Mustang-RC.

      I have attached a sample test. Execute the sample test and watch the console. If you see any conflicting error message being printed, the bug is reproduced.

      Attachments

        Issue Links

          Activity

            People

              jgodinez Jennifer Godinez (Inactive)
              schandarsunw Suresh Chandar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: