Details
-
Type: Bug
-
Status: Closed
-
Priority: 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
-
Assignee Priority:P1
-
Support Case References:Support Case #13373 - https://icesoft.my.salesforce.com/50070000016KX6f
-
Workaround Exists:Yes
-
Workaround Description:Use Production PROJECT_STAGE
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.