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 723a21c6 (Fixed badge URL)
     new e50d6512 (Some Javadoc and comment adjustments)
     new 52cae12d Switched to Java 16 as minimal build environment. With this 
version (since Java 9) we can't use javac "bootclasspath", and "source", and 
"target", but "release". Also, removed RMI sub generation for the debug API, as 
rmic was removed since JDK 13 or so, and modern RMI doesn't need stubs anyway 
(also probably nobody uses the debug API).
     new 1b8481f6 Adjusted JUnit test expected value for JDK 11+, where the 
default format of numbers and temporals has been changed. (We already require 
JDK 16 for the build.)
     new d7f7f1a5 (Updated README IDE setup instructions)
     new 763e6752 Updated Jetty version used in JUnit tests, because the old 
one can't run on Java 16. Also some adjustments in Jetty setup was needed.
     new 2caaddc1 Fixed issue (noticed with upgraded Jetty): When 
FreemarkerServlet was used with the TemplateExceptionHandler.DEBUG_HANDLER or 
HTML_DEBUG_HANDLER, on Jetty the response web page was possibly empty or 
partial, as Jetty has abruptly closed the connection after we flushed the HTTP 
response with status code 200, and yet thrown an exception. Now in this 
situation we only log the exception, but don't throw it. (Production system 
should always use RETHROW_HANDLER, and this chang [...]
     new d6304199 Disabled javadoc failing on errors for now, as because of 
switching to Java 16 there's a lot of HTML-related complaints.

The 7 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:
 .github/workflows/ci.yml                           |   6 +
 README.md                                          |  19 +--
 build.xml                                          |  37 +++---
 ivy.xml                                            |   9 +-
 osgi.bnd                                           |   4 +-
 .../freemarker/core/{_Java8.java => _Java16.java}  |  12 +-
 .../core/{_Java8Impl.java => _Java16Impl.java}     |  33 +++--
 src/main/java/freemarker/core/_JavaVersions.java   |  72 +++++++----
 .../java/freemarker/ext/beans/BeansWrapper.java    |  11 +-
 .../freemarker/ext/beans/ClassIntrospector.java    |   6 +-
 .../ext/beans/DefaultMemberAccessPolicy.java       |   2 +-
 .../freemarker/ext/beans/MemberAccessPolicy.java   |   4 +
 .../ext/beans/MethodAppearanceFineTuner.java       |   2 +-
 .../freemarker/ext/servlet/FreemarkerServlet.java  |  40 ++++--
 src/manual/en_US/book.xml                          |  38 +++++-
 .../java/freemarker/core/CAndCnBuiltInTest.java    |   2 +-
 src/test/java/freemarker/core/DateFormatTest.java  |   2 +-
 .../java/freemarker/core/NumberFormatTest.java     |   2 +-
 .../ext/jsp/RealServletContainertTest.java         |   4 +-
 .../freemarker/template/MockServletContext.java    | 143 +++++++++++++++++++++
 .../freemarker/test/servlet/WebAppTestCase.java    |  23 +++-
 .../test/templatesuite/expected/number-format.txt  |   4 +-
 .../test/templatesuite/templates/number-format.ftl |   2 +-
 src/test/resources/logback-test.xml                |   2 +
 24 files changed, 369 insertions(+), 110 deletions(-)
 copy src/main/java/freemarker/core/{_Java8.java => _Java16.java} (87%)
 copy src/main/java/freemarker/core/{_Java8Impl.java => _Java16Impl.java} (54%)

Reply via email to