mbien commented on PR #7938:
URL: https://github.com/apache/netbeans/pull/7938#issuecomment-2564930273

   I can see how this can look confusing: jsvg itself logs with SEVERE level, 
this lands in the NB log handler.
   https://github.com/search?q=repo%3AweisJ%2Fjsvg%20severe&type=code
   
   All severe log lines (maybe also warnings - can't remember) will land in the 
notifications since they are automatically intercepted, as mentioned in 
https://github.com/apache/netbeans/pull/7938#discussion_r1898763135.
   
   `load()` does in fact return null, no exception is actually caught by NB, we 
only see the log.
   
   this experiment confirms it:
       
   ```java
       static{
           Logger.getLogger("com.github.weisj.jsvg.parser").setLevel(Level.OFF);
       }
   ```
   mystery solved ;)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to