jluehe opened a new issue, #3686:
URL: https://github.com/apache/logging-log4j2/issues/3686

   ## Description
   
   org.apache.logging.log4j:log4j-api:2.24.3 is not Jakarta EE9 compatible, 
because its 
[log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java](https://github.com/apache/logging-log4j2/blob/rel/2.24.3/log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java)
 resource contains a reference to `javax.xml.bind.DataTypeConverter`, see 
https://github.com/apache/logging-log4j2/blob/rel/2.24.3/log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java#L45
   
   `javax.xml.bind.DataTypeConverter` has been used as a fallback in case 
   `java.util.Base64` was not available. 
   
   However, given that Java 8 has been the baseline since `2.13.0`, 
`java.util.Base64` can be invoked _directly_ (instead of _reflectively_), and 
the `javax.xml.bind.DataTypeConverter` fallback is no longer required.
   
   See https://github.com/apache/logging-log4j2/discussions/3682 for more 
details.
   
   ## Configuration
   
   **Version:** [Log4j version]
   2.24.3
   
   **Operating system:** [OS and version]
   
   **JDK:** [JDK distribution and version]
   
   ## Logs
   
   ```
   [Stacktraces, errors, etc. relevant applications logs.]
   ```
   
   ## Reproduction
   
   [An isolated test reproducing the test.
   JUnit tests similar to the ones in the code base are extremely appreciated.]
   


-- 
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-unsubscr...@logging.apache.org.apache.org

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

Reply via email to