This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/opennlp.git
from 9796b1a09 Allowlist based class Instantiation (#1178)
new 4a435d3c3 OPENNLP-1890: Using allowlist based class loading in
StreamFactoryRegistry
new fa79a5243 OPENNLP-1890: Using allowlist based class loading in
StringInterners
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:
.../tools/cmdline/StreamFactoryRegistry.java | 27 ++++---
.../tools/cmdline/StreamFactoryRegistryTest.java | 82 ++++++++++++++++++++++
.../tools/util/jvm/CHMStringDeduplicator.java | 2 +-
.../opennlp/tools/util/jvm/CHMStringInterner.java | 2 +-
.../opennlp/tools/util/jvm/HMStringInterner.java | 2 +-
.../opennlp/tools/util/jvm/JvmStringInterner.java | 2 +-
.../opennlp/tools/util/jvm/NoOpStringInterner.java | 2 +-
.../opennlp/tools/util/jvm/StringInterners.java | 12 ++--
.../tools/util/jvm/StringInternersTest.java | 74 +++++++++++++++++++
9 files changed, 180 insertions(+), 25 deletions(-)
create mode 100644
opennlp-core/opennlp-formats/src/test/java/opennlp/tools/cmdline/StreamFactoryRegistryTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/util/jvm/StringInternersTest.java