This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
from 37941b6fff Remove dependency on PropertiesUtil from `Strings`
new f7ea51a323 Extract Cast::cast utility method
new 37d2d5d834 Flatten ThreadContextMap API
new 61dae9f05f Create AllocatePorts JUnit annotation
new 9c27911e4a Update tests for JUnit 5
new 4f27e13106 Add assertions to give better error messages
new e562596281 Add javadoc for context factory interfaces
new a6c877192f Note more exception possibilities
new d2240cd0b3 Update javadoc link to proper class
new 17485c10e6 Add more downcast checks in LoggerContext
new b177c3b197 Update LowLevelLogUtil to use replaceable functions
new b373fa5db1 Add assertj to log4j-core-test module-info.java
new 9bc2f46256 Make ServiceRegistry resilient to recursive service loading
new 2a03c3c634 Catch ServiceConfigurationError in OSGi service loading
The 13 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:
.../org/apache/log4j/builders/BuilderManager.java | 4 +-
.../test/java/org/apache/log4j/CategoryTest.java | 4 +-
.../log4j/spi/CleanableThreadContextMap.java | 18 +---
.../logging/log4j/spi/NoOpThreadContextMap.java | 21 ++++
.../logging/log4j/spi/ObjectThreadContextMap.java | 36 +------
.../apache/logging/log4j/spi/ThreadContextMap.java | 97 ++++++++++++++++-
.../logging/log4j/spi/ThreadContextMap2.java | 32 +-----
.../logging/log4j/spi/ThreadContextStack.java | 18 ++++
.../org/apache/logging/log4j/util/LazyUtil.java | 9 +-
.../java/org/apache/logging/log4j/util3/Cast.java | 13 +--
.../org/apache/logging/log4j/util3/LoaderUtil.java | 3 +
.../logging/log4j/util3/LowLevelLogUtil.java | 49 ++++-----
.../logging/log4j/util3/ServiceRegistry.java | 48 ++++++---
.../appender/SocketAppenderSocketOptionsTest.java | 119 +++++++++------------
.../log4j/core/test/CoreLoggerContexts.java | 15 ++-
...ContextSelectorType.java => AllocatePorts.java} | 22 ++--
.../core/test/junit/PortAllocatorCallback.java | 71 ++++++++++++
log4j-core-test/src/main/module/module-info.java | 1 +
.../rolling/RollingAppenderOnStartupTest.java | 77 ++++++-------
.../async/AsyncLoggerUseAfterShutdownTest.java | 32 ++----
.../apache/logging/log4j/core/LoggerContext.java | 13 ++-
.../log4j/core/config/AbstractConfiguration.java | 6 +-
.../log4j/core/config/jason/JsonConfiguration.java | 16 +--
.../plugins/visit/PluginConfigurationVisitor.java | 5 +-
.../plugins/visit/PluginLoggerContextVisitor.java | 5 +-
.../logging/log4j/core/impl/DefaultBundle.java | 3 +-
.../logging/log4j/couchdb/CouchDbProvider.java | 4 +-
.../logging/log4j/mongodb3/MongoDb3Provider.java | 4 +-
.../logging/log4j/perf/nogc/OpenHashStringMap.java | 19 ++--
.../logging/log4j/plugins/di/InjectorTest.java | 4 +-
.../org/apache/logging/log4j/plugins/Node.java | 4 +-
.../log4j/plugins/convert/TypeConverter.java | 4 +-
.../logging/log4j/plugins/di/BindingMap.java | 8 +-
.../logging/log4j/plugins/di/DefaultInjector.java | 47 ++++----
.../org/apache/logging/log4j/plugins/di/Key.java | 9 +-
.../org/apache/logging/log4j/plugins/di/Keys.java | 4 +-
.../logging/log4j/plugins/model/PluginType.java | 4 +-
.../logging/log4j/plugins/util/TypeUtil.java | 5 -
.../validation/validators/ValidPortValidator.java | 4 +-
.../log4j/plugins/visit/PluginElementVisitor.java | 5 +-
.../log4j/plugins/visit/PluginNodeVisitor.java | 5 +-
.../log4j/plugins/visit/PluginValueVisitor.java | 6 +-
42 files changed, 498 insertions(+), 375 deletions(-)
copy
log4j-api-test/src/test/java/org/apache/logging/log4j/util3/ClassLocator.java
=> log4j-api/src/main/java/org/apache/logging/log4j/util3/Cast.java (82%)
copy
log4j-core-test/src/main/java/org/apache/logging/log4j/core/test/junit/{ContextSelectorType.java
=> AllocatePorts.java} (71%)
create mode 100644
log4j-core-test/src/main/java/org/apache/logging/log4j/core/test/junit/PortAllocatorCallback.java