Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.4.2
-
Component/s: Velocity
-
Labels:
-
Tests:Unit
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
The following snippet:
{{velocity}} $xwiki.getClass().name {{/velocity}}
produce the following expected output
com.xpn.xwiki.api.XWiki
but also the following unexpected warning
WARN o.x.v.i.DefaultVelocityEngine - Cannot retrieve method getname from object of class java.lang.Class due to security restrictions.