Hi Ernie,

Maybe someone with more knowledge of this can provide a better answer.

NetBeans has some support for multi-release jars.
https://github.com/apache/netbeans/pulls?q=is%3Apr+is%3Aclosed+%22multi-release%22+jar+

I was missing the key word 'not' in my last email response. The classloader
does 'not' support multi-release jar files like log4j.
https://issues.apache.org/jira/browse/NETBEANS-3679

I think we need to modify
https://github.com/apache/netbeans/blob/master/platform/o.n.bootstrap/src/org/netbeans/JarClassLoader.java
to support multi-release jars.
Something akin to what Spring did
https://github.com/spring-projects/spring-boot/commit/56eebc9385e6c458a18e05115ceaf0df73bfbc02

--Christian


On Tue, Mar 1, 2022 at 3:23 PM Ernie Rael <[email protected]> wrote:

> The question is coming up in reference to
>
> https://issues.apache.org/jira/browse/LOG4J2-3420
> getlogger() UnsupportedOperationException when loaded by Class.forName()
>
> Where log4j2 is throwing an exception when JComponents that use log4j
> are used in the gui builder.
>
> -ernie
>
>
> ---------------------------------------------------------------------
> 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