This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git.
from 2ef07c2 Manual: Recommending #import instead of #include in the
documentation of #include. Improved #import documentation.
new d921f5d [FREEMARKER-145] Fixed bug where methods with "overloaded"
return type may become inaccessible on Java 9+, if some overriding subclasses
are not public. (This is because java.beans.Introspector behavior has changed
with Java 9.)
new 09f2472 [FREEMARKER-133] Fixed bug where FreeMarker sometimes tries
to expose public methods that are defined or overridden in a non-public class,
if the non-public class was then extended by a public class. Calling such
method just ends up with IllegalAccessException, but they shouldn't be exposed
on the first place, and furthermore can sometimes hide the callable version of
the method.
new eedc075 Updated some test dependencies.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
ivy.xml | 4 +-
.../freemarker/ext/beans/ClassIntrospector.java | 65 ++++----
.../java/freemarker/ext/beans/_MethodUtil.java | 82 +++++++++++
src/manual/en_US/book.xml | 41 +++++-
.../beans/Java9InstrospectorBugWorkaround.java} | 11 +-
.../java/freemarker/ext/beans/MethodUtilTest2.java | 164 +++++++++++++++++++++
6 files changed, 331 insertions(+), 36 deletions(-)
copy src/test/java/freemarker/{manual/WithArgsExamples.java =>
ext/beans/Java9InstrospectorBugWorkaround.java} (73%)
create mode 100644 src/test/java/freemarker/ext/beans/MethodUtilTest2.java