ddekany
ddekany
The reason FreeMarker doesn't use generics is that it's not backward compatible to add them to public API-s. So it couldn't adopt them. Even though TemplateElement is in principle internal,...
What's the build error? You are unable to build this branch, or FreeMarker in general?
@OnnoH Here's a build of this branch: https://freemarker.apache.org/builds/pr121/
BTW, you can also have an `${.version}` in a template, and see if it prints 2.3.35-SNAPSHOT.
@OnnoH Yeah, it actually prints "nightly", not SNAPSHOT... same thing. Certainly I'm stating the obvious, but you also have to be sure that you have built that from the branch...
If the `org.slf4j.Logger` class exists, then FreeMarker tries to use SLF4J for its own logging. That then it fails with `java.lang.ClassNotFoundException: freemarker.log._SLF4JLoggerFactory` is a problem. I guess (not sure), since...
@fugerit79 Thanks for the fixes! Regarding the README (discussed much earlier), feel free to add any pointer to it, based on the discussion here. After the merge (in a few...
Creating an instance of this `TemplateModel` from templates is disabled by default already (see `TemplateClassResolver.SAFER_RESOLVER`). So I'm note sure how much this helps in practice, as this doesn't block by...