ICEfaces
  1. ICEfaces
  2. ICE-10602

DOMRenderKit addRenderer warning displayed on server start

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P03
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      A customer is reporting seeing the following warning messages (6 in total) on server startup:

      Mar 31, 2015 11:56:32 AM org.icefaces.impl.renderkit.DOMRenderKit addRenderer
      WARNING: For class org.icefaces.impl.renderkit.DOMRenderKit$FormBoost, the field 'this$0' is not declared 'static final'. Ren
      derer classes must not have instance fields, and must be re-entrant.
      Mar 31, 2015 11:56:32 AM org.icefaces.impl.renderkit.DOMRenderKit addRenderer
      WARNING: For class org.icefaces.impl.renderkit.DOMRenderKit$FormBoost, in its superclass org.icefaces.impl.renderkit.Renderer
      Wrapper, the field 'renderer' is not declared 'static final'. Renderer classes must not have instance fields, and must be re-
      entrant.

        Activity

        Hide
        Mircea Toma added a comment -

        The issue occurs when two or more icefaces.jar libraries are in the class-path.

        I made some improvements though (not really a fix, since nothing was broken) by making org.icefaces.impl.renderki.RendererWrapper.renderer field final and modifying DOMRenderKit to only warn when renderer static or instance fields are not marked as final.

        Show
        Mircea Toma added a comment - The issue occurs when two or more icefaces.jar libraries are in the class-path. I made some improvements though (not really a fix, since nothing was broken) by making org.icefaces.impl.renderki.RendererWrapper.renderer field final and modifying DOMRenderKit to only warn when renderer static or instance fields are not marked as final.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: