-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
8.0.2
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.0.3 S2
-
None
If an internationalization label targets itself, the result will be a stack overflow
Reproduced with:
zk-label.properties
my.app.label.a= ${my.app.label.b} my.app.label.b= ${my.app.label.a}
zul
<label value="${labels.my.app.label.a.$}"/>
result
java.lang.StackOverflowError at java.util.HashMap.hash(HashMap.java:338) at java.util.HashMap.get(HashMap.java:556) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:323) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326) at org.zkoss.util.resource.impl.LabelLoaderImpl.expendValue(LabelLoaderImpl.java:326)
- relates to
-
ZK-3219 Recursive internationalization labels causes PotentialDeadLockException
- Closed