Github user xnslong commented on the issue: https://github.com/apache/logging-log4j2/pull/92 I followed the tips to run command `mvn -U clean test -pl log4j-core -Dtest=AbstractStringLayoutTest`, and then I checked my local maven repository, but I'm afraid it didn't work. The following picture is a screen shot when I decompile the `log4j-api-2.9-SNAPSHOT.jar` with `Java Decompiler`. Please have a look on the red rectangle I draw here, it is where different from my code, and also the reason cause the failures above. 
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---