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

isPrinting() is final

XMLWordPrintable

    • b39
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b32)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b32, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The new isPrinting() method is final and so can not be overwritten. Our application uses a third party graph extension which has its own printing support and it already includes a isPrinting() method to indicate that the component is printing. Today I tested the 1.6 release with our application and I get the error message that isPrinting() overwrites a final method.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The method isPrinting() can not be overwritten for a custom component.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      isPrinting() should not be final.
      ACTUAL -
      Can not test our application with 1.6 without making code changes.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround available.
      ###@###.### 2005-04-25 12:09:47 GMT

            shickeysunw Shannon Hickey (Inactive)
            jssunw Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: