color model is public static in TexturePaintContext. Shouldnt it be final?

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: client-libs
    • 2d
    • generic
    • generic

      I've run JSAT (Java Security-Audit Tool) on some of AWT source files and found
      that xrgbmodel (the color model) is non-final public static in
      java.awt.TexturePaintContext and consequently any client which has access to the
      PaintContext can modify it. Is this intentional? I'm not sure what
      the consequences of this might be; Still, if the intention is to let
      users modify the color model, this should be done via an accessor
      method.

            Assignee:
            Jim Graham
            Reporter:
            Danny Hendler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: