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

ColorModel.getPixelSize() now final in 1.2 - not 1.1.x compatible

XMLWordPrintable

    • 1.2beta2
    • sparc
    • solaris_2.5.1
    • Not verified

      java.awt.image.ColorModel.getPixelSize() was changed to be final in 1.2.

      JLS 13.4.16 expects vm to throw VerifyError if subclasses from 1.1.x that override getPixelSize are loaded (unconfirmed). I would expect javac to throw error if source for 1.1.x subclass is compiled with 1.2 classes.

      Same effect for
       - java.awt.image.DirectColorModel.getPixelSize()
       - java.awt.image.IndexColorModel.getPixelSize()

            jehung Jeannette Hung (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: