Repository: logging-log4j2 Updated Branches: refs/heads/master 68ffcb4b2 -> 8f88eee74
LOG4J2-2194 Require Java 9 to compile the log4j-perf module to allow benchmarking with Java 9 APIs Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/8f88eee7 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/8f88eee7 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/8f88eee7 Branch: refs/heads/master Commit: 8f88eee7404ec63c92a9c08a5859fba59d83e5a9 Parents: 68ffcb4 Author: rpopma <[email protected]> Authored: Thu Jan 18 01:38:49 2018 +0900 Committer: rpopma <[email protected]> Committed: Thu Jan 18 01:38:49 2018 +0900 ---------------------------------------------------------------------- log4j-perf/pom.xml | 25 ++++++++++++++++++++++--- src/changes/changes.xml | 3 +++ 2 files changed, 25 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8f88eee7/log4j-perf/pom.xml ---------------------------------------------------------------------- diff --git a/log4j-perf/pom.xml b/log4j-perf/pom.xml index 252e2c7..dec331e 100644 --- a/log4j-perf/pom.xml +++ b/log4j-perf/pom.xml @@ -144,12 +144,31 @@ <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-toolchains-plugin</artifactId> + <version>1.1</version> + <executions> + <execution> + <goals> + <goal>toolchain</goal> + </goals> + </execution> + </executions> + <configuration> + <toolchains> + <jdk> + <version>9</version> + </jdk> + </toolchains> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${compiler.plugin.version}</version> <configuration> - <compilerVersion>${javac.target}</compilerVersion> - <source>${javac.target}</source> - <target>${javac.target}</target> + <compilerVersion>9</compilerVersion> + <source>9</source> + <target>9</target> </configuration> </plugin> <plugin> http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/8f88eee7/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6b9a199..1126598 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -68,6 +68,9 @@ <action issue="LOG4J2-2126" dev="rpopma" type="fix" due-to="Oleg Kalnichevski"> Removed compile-time dependency on Java Management APIs from Log4J API module to improve compatibility with Android Platform which does not support JMX extensions. </action> + <action issue="LOG4J2-2194" dev="rpopma" type="update"> + Require Java 9 to compile the log4j-perf module to allow benchmarking with Java 9 APIs. + </action> <action issue="LOG4J2-2193" dev="rpopma" type="update"> Update JMH to version 1.19 from 1.1.1. </action>
