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

some private fields/methods in ImageView should be protected

XMLWordPrintable

    • Fix Understood
    • x86
    • windows_2000



      Name: jk109818 Date: 08/08/2002


      FULL PRODUCT VERSION :
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b14)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b14, mixed mode)

      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows 2000 [Version 5.00.2195]

      A DESCRIPTION OF THE PROBLEM :
      While ImageView now is a public class, it's still not easy
      to extend, because all fields and nearly all methods are
      private.

      Trying to get a Workaround for Bug #4725530 (cache image by
      myself), I ended up in copying the whole ImageView-Source!!
      This causes maintenance of code everytime a new JDK will be
      used...

      So long, no benefit of having the ImageView class public :((

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Yust try to have Bug 4725530 fixed in a subclass of
      ImageView...

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 160459)
      ======================================================================

            peterz Peter Zhelezniakov
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: