This is an automated email from the ASF dual-hosted git repository. rec pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit ac05c4e4cb82ce9b1eae75a9e0d475fb8d3882c2 Merge: f79fdcc3b 876713fea Author: Richard Eckart de Castilho <[email protected]> AuthorDate: Wed Aug 28 14:57:09 2024 +0200 Merge branch 'release/3.5.x' * release/3.5.x: Issue #382: Warning when PEAR contains a JCAS class that is used as a feature range outside the PEAR Issue #382: Warning when PEAR contains a JCAS class that is used as a feature range outside the PEAR Issue #382: Warning when PEAR contains a JCAS class that is used as a feature range outside the PEAR Issue #382: Warning when PEAR contains a JCAS class that is used as a feature range outside the PEAR Issue #371: Repeated creation of type systems can exhaust JVM metaspace Issue #371: Repeated creation of type systems can exhaust JVM metaspace aggregate-uimaj/pom.xml | 2 + pom.xml | 1 + .../org/apache/uima/cas/CASRuntimeException.java | 5 +- .../java/org/apache/uima/cas/impl/CASImpl.java | 20 +- .../org/apache/uima/cas/impl/FSClassRegistry.java | 564 ++++++++++---------- .../java/org/apache/uima/cas/impl/TypeImpl.java | 43 +- .../org/apache/uima/cas/impl/TypeSystemImpl.java | 2 +- .../apache/uima/internal/util/UIMAClassLoader.java | 12 + .../org/apache/uima/pear/tools/PackageBrowser.java | 25 +- .../apache/uima/UIMAException_Messages.properties | 2 +- .../apache/uima/cas/impl/FSClassRegistryTest.java | 36 +- .../apache/uima/cas/impl/TypeSystemImplTest.java | 48 +- .../uima/cas/test/FSCreatedInPearContextTest.java | 30 +- .../apache/uima/cas/test/FeatureStructureTest.java | 51 +- .../apache/uima/cas/test/JCasClassLoaderTest.java | 333 ++++-------- uimaj-core/src/test/resources/log4j2-test.xml | 2 +- uimaj-it-pear-with-typesystem/pom.xml | 173 +++++++ .../Scenario1TestAnnotator.java | 47 ++ .../Scenario2TestAnnotator.java | 55 ++ .../Scenario3TestAnnotator.java | 50 ++ .../TestAnnotator_ImplBase.java | 108 ++++ .../spi/JCasClassProviderForTesting.java | 69 +-- .../services/org.apache.uima.spi.JCasClassProvider | 1 + .../uima/it/pear_with_typesystem/TestAnnotator.xml | 48 ++ .../type/typeSystemDescriptor.xml | 49 ++ .../uima/it/pear_with_typesystem/PearIT.java | 568 +++++++++++++++++++++ .../src/test/resources/simplelogger.properties | 1 + uimaj-parent/pom.xml | 5 + uimaj-test-util/pom.xml | 4 + .../org/apache/uima/test/IsolatingClassloader.java | 168 ++++++ 30 files changed, 1885 insertions(+), 637 deletions(-)
