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

   ## Description
   
   Currently, `org.apache.logging.log4j.layout.template.json` does not export 
`org.apache.logging.log4j.layout.template.json.util`. That makes it impossible 
to implement 
`org.apache.logging.log4j.layout.template.json.resolver.EventResolver` (which 
is in the exported packages) as the following two methods
   ```java
       /**
        * Resolves the given {@code value} using the provided {@link 
JsonWriter}.
        */
       void resolve(V value, JsonWriter jsonWriter);
   
       /**
        * Resolves the given {@code value} using the provided {@link 
JsonWriter}.
        *
        * @param succeedingEntry false, if this is the first element in a 
collection; true, otherwise
        */
       default void resolve(V value, JsonWriter jsonWriter, boolean 
succeedingEntry) {
           resolve(value, jsonWriter);
       }
   ``` 
   depend on `JsonWriter`, which is from 
`org.apache.logging.log4j.layout.template.json.util` and hence not available 
(if one uses JPMS).
   
   ## Configuration
   
   **Version:** 2.21.1
   
   **Operating system:** Windows 10
   
   **JDK:**
   openjdk version "21" 2023-09-19
   OpenJDK Runtime Environment (build 21+35-2513)
   OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
   


-- 
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