This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 7aa6bfe4c Bump commons-parent from 104 to 105. (#1785)
7aa6bfe4c is described below

commit 7aa6bfe4c584d26d65bb6b58905bb5d156c37d04
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Sep 7 17:16:43 2026 -0400

    Bump commons-parent from 104 to 105. (#1785)
    
    - Preserve the parent's agent-loading option in the custom argLine used
    by Mockito tests.
---
 pom.xml                 | 15 +++++++++++++--
 src/changes/changes.xml |  2 +-
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b17e7ac68..143c1bb10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>104</version>
+    <version>105</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>commons-lang3</artifactId>
@@ -113,10 +113,11 @@
     <commons.javadoc.version>3.11.2</commons.javadoc.version>
     <!-- TEMP HACK END -->
 
+    <agentArgs/>
     <heapSize>-Xmx1G</heapSize>
     <extraArgs/>
     <systemProperties/>
-    <argLine>${heapSize} ${extraArgs} ${systemProperties}</argLine>
+    <argLine>${heapSize} ${extraArgs} ${systemProperties} 
${agentArgs}</argLine>
     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <!-- project.build.outputTimestamp is managed by Maven plugins, see 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
@@ -529,6 +530,16 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>java-21-up</id>
+      <activation>
+        <jdk>[21,)</jdk>
+      </activation>
+      <properties>
+        <!-- Preserve the parent's agent-loading option in the custom argLine 
used by Mockito tests. -->
+        <agentArgs>-XX:+EnableDynamicAgentLoading</agentArgs>
+      </properties>
+    </profile>
     <profile>
          <!-- Java 25 and up -->
       <id>java-25-up</id>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 00defba20..f35afa03e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -304,7 +304,7 @@ java.lang.NullPointerException: Cannot invoke
     <action                   type="add" dev="ggregory" due-to="Gary 
Gregory">Add ClassUtils.getClassStrict(ClassLoader, String, boolean) 
(f020).</action>
     <action                   type="add" dev="ggregory" due-to="Gary 
Gregory">Add ClassUtils.getClassStrict(String) (f020).</action>
     <!-- UPDATE -->
-    <action                   type="update" dev="ggregory" due-to="Gary 
Gregory, Dependabot">Bump org.apache.commons:commons-parent from 92 to 104 
#1498.</action>
+    <action                   type="update" dev="ggregory" due-to="Gary 
Gregory, Dependabot">Bump org.apache.commons:commons-parent from 92 to 105 
#1498.</action>
     <action                   type="update" dev="ggregory" due-to="Gary 
Gregory">[test] Bump org.apache.commons:commons-text from 1.14.0 to 
1.15.0.</action>
   </release>
   <release version="3.20.0" date="2025-11-12" description="This is a feature 
and maintenance release. Java 8 or later is required.">

Reply via email to