Hi folks:
I've found a lot of examples in the internet how to access any kind of java classes via .class.forName. I've tested this in my user macro:
#set ($string="")
#set ($base64=$string.class.forName('java.util.Base64'))
<pre>
base64: $base64.getClass()
</pre>
that results in "$base64.getClass()" and not as expected in "java.util.Base64".
An implicit initialization with "newInstance()" has changed nothing.
#set ($base64=$string.class.forName('java.util.Base64').newInstance())Has someone an idea, what's wrong here?
I'm using Confluence 7.4.0 Server.
Thanks