This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch 3
in repository https://gitbox.apache.org/repos/asf/freemarker.git.
from 789f2b2 Forward ported from 2.3-gae, kind of: Disallowed using the
object returned by Configuration.getVersion() as the incompatibleImprovements
setting value. In 2.3.x it was just logged as error though, so this is quite
different. Also forward ported ConfigurationTest.testVersion() fixes.
new 40dc208 Forward ported from 2.3-gae: [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 d1dd791 Forward ported from 2.3-gae: [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.
The 2 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:
...va => Java9InstrospectorBugWorkaroundTest.java} | 20 ++++---
.../core/model/impl/ClassIntrospector.java | 66 ++++++++++++++++------
2 files changed, 59 insertions(+), 27 deletions(-)
copy
freemarker-core-test/src/test/java/org/apache/freemarker/core/model/impl/{ConstantsTest.java
=> Java9InstrospectorBugWorkaroundTest.java} (68%)