This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a change to branch FREEMARKER-35
in repository https://gitbox.apache.org/repos/asf/freemarker.git
from ad1171f0 Merge remote-tracking branch 'origin/2.3-gae' into
FREEMARKER-35
add a8bb8f92 Manual: Typo fix, and refined compatibility warning.
add 7e5b6df0 add .asf.yaml
add caba878e Merge pull request #99 from bmarwell/asf-yaml-autolinks
add 05d6158c Update .asf.yaml, disable issues
add fb9335ab Merge pull request #101 from bmarwell/patch-1
add a33970de [BUILD] add github workflow
add 039ae476 [BUILD] remove travis.yaml, use ci goal
add e571099d Merge pull request #100 from bmarwell/github_workflows
add 43e57dc8 [BUILD] sign and rat-check on CI build
add 79b77fa4 Merge pull request #102 from
bmarwell/2.3-dist-rat-github-action
add 8050d7c0 README shows Git Action status, instead of the now dead
Travis build status. Renamed Git Action to "CI", otherwise it looks odd in the
status icon.
add 723a21c6 (Fixed badge URL)
add e50d6512 (Some Javadoc and comment adjustments)
add 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).
add 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.)
add d7f7f1a5 (Updated README IDE setup instructions)
add 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.
add 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 [...]
add d6304199 Disabled javadoc failing on errors for now, as because of
switching to Java 16 there's a lot of HTML-related complaints.
new 6927e56f Merge branch '2.3-gae' into FREEMARKER-35
new 5a766442 Adjusted Temporal tests for the post-JDK11 format defaults
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:
.asf.yaml | 33 +++++
.github/workflows/ci.yml | 81 ++++++++++++
.gitignore | 2 +
.travis.yml | 46 -------
README.md | 18 +--
build.xml | 42 +++---
ivy.xml | 9 +-
osgi.bnd | 4 +-
...atePostProcessorException.java => _Java16.java} | 17 ++-
src/main/java/freemarker/core/_Java16Impl.java | 57 ++++++++
src/main/java/freemarker/core/_JavaVersions.java | 80 ++++++++++++
.../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 | 46 +++++--
.../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 +-
.../test/templatesuite/templates/temporal.ftl | 71 +++++-----
src/test/resources/logback-test.xml | 2 +
28 files changed, 590 insertions(+), 165 deletions(-)
create mode 100644 .asf.yaml
create mode 100644 .github/workflows/ci.yml
delete mode 100644 .travis.yml
copy src/main/java/freemarker/core/{TemplatePostProcessorException.java =>
_Java16.java} (73%)
create mode 100644 src/main/java/freemarker/core/_Java16Impl.java
create mode 100644 src/main/java/freemarker/core/_JavaVersions.java