You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "JWT007 (via GitHub)" <gi...@apache.org> on 2024/11/04 06:48:24 UTC

[PR] Improve validation for AsyncWaitStrategyFactoryConfig for null/empty 'factoryClassName'. #3159 (logging-log4j2)

JWT007 opened a new pull request, #3160:
URL: https://github.com/apache/logging-log4j2/pull/3160

   This should fix a potential NPE in AsyncWaitStrategyFactoryConfig if the builder 'class' field is not set or set to null/empty string. https://github.com/apache/logging-log4j2/issues/3159
   
   * added notEmpty assert to Builder setFactoryClassName
   * changed notNull to notEmpty assert to AsyncWaitStrategyFactoryConfig constructor.
   * added changelog XML file.
   * added new tests to AsyncWaitStrategyFactoryConfigTest
   
   ## Checklist
   
   * Base your changes on `2.x` branch if you are targeting Log4j 2; use `main` otherwise
   * `./mvnw verify` succeeds (if it fails due to code formatting issues reported by Spotless, simply run `./mvnw spotless:apply` and retry)
   * Non-trivial changes contain an entry file in the `src/changelog/.2.x.x` directory
   * Tests for the changes are provided
   * [Commits are signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) (optional, but highly recommended)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve validation for AsyncWaitStrategyFactoryConfig for null/empty 'factoryClassName'. #3159 (logging-log4j2)

Posted by "JWT007 (via GitHub)" <gi...@apache.org>.
JWT007 closed pull request #3160: Improve validation for AsyncWaitStrategyFactoryConfig for null/empty 'factoryClassName'. #3159
URL: https://github.com/apache/logging-log4j2/pull/3160


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve validation for AsyncWaitStrategyFactoryConfig for null/empty 'factoryClassName'. #3159 (logging-log4j2)

Posted by "JWT007 (via GitHub)" <gi...@apache.org>.
JWT007 commented on PR #3160:
URL: https://github.com/apache/logging-log4j2/pull/3160#issuecomment-2652506373

   Closing this PR - will cleanup and resubmit.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve validation for AsyncWaitStrategyFactoryConfig for null/empty 'factoryClassName'. #3159 (logging-log4j2)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #3160:
URL: https://github.com/apache/logging-log4j2/pull/3160#issuecomment-2454291848

   
   
   <table>
       <tr>
           <th>Job</th>
           <th>Requested goals</th>
           <th>Build Tool Version</th>
           <th>Build Outcome</th>
           <th>Build ScanĀ®</th>
       </tr>
       <tr>
           <td>build-macos-latest</td>
           <td>clean install</td>
           <td align='center'>3.9.8</td>
           <td align='center'>:x:</td>
           <td><a href="https://ge.apache.org/s/q6dqidxfemkrg" rel="nofollow"><img src="https://img.shields.io/badge/Build%20Scan%C2%AE-PUBLISHED-06A0CE?logo=Gradle" alt="Build Scan PUBLISHED" /></a></td>
       </tr>
       <tr>
           <td>build-ubuntu-latest</td>
           <td>clean install</td>
           <td align='center'>3.9.8</td>
           <td align='center'>:x:</td>
           <td><a href="https://ge.apache.org/s/oxeqyxldoecs2" rel="nofollow"><img src="https://img.shields.io/badge/Build%20Scan%C2%AE-PUBLISHED-06A0CE?logo=Gradle" alt="Build Scan PUBLISHED" /></a></td>
       </tr>
       <tr>
           <td>build-windows-latest</td>
           <td>clean install</td>
           <td align='center'>3.9.8</td>
           <td align='center'>:x:</td>
           <td><a href="https://ge.apache.org/s/n7ltbpyqhk6sk" rel="nofollow"><img src="https://img.shields.io/badge/Build%20Scan%C2%AE-PUBLISHED-06A0CE?logo=Gradle" alt="Build Scan PUBLISHED" /></a></td>
       </tr>
   </table>
       
   
   ###### Generated by gradle/develocity-actions
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org