[ 
https://issues.apache.org/jira/browse/LOG4J2-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17610633#comment-17610633
 ] 

Ralph Goers commented on LOG4J2-2649:
-------------------------------------

Given the line number it looks like you are trying with a release 2.x release. 
You should be using the master branch. If we ever support GraalVM it would be 
in 3.x. That said, the code between them is pretty much the same in this area.

It sounds like this is one Oracle team vs another Oracle team.  We have to use 
LambdaMetafactory in order to be able to load Plugins in a JPMS environment.  

To be honest, none of the Log4j committers have ever expressed much interest in 
using GraalVM so I don't think anyone here is really trying to solve this 
problem. So pull requests would be welcome provided they come with unit tests 
and all other unit tests pass.

>  Is Log4j2 considered to support successful static compilation under GraalVM?
> -----------------------------------------------------------------------------
>
>                 Key: LOG4J2-2649
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2649
>             Project: Log4j 2
>          Issue Type: New Feature
>            Reporter: YangGuanchao
>            Priority: Blocker
>         Attachments: log4j2-native-tests.zip
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Oracle released GraalVM [https://github.com/oracle/graal] to support the 
> static compilation of Java applications to Native Image, which can increase 
> the startup speed of Java by at least 10 times. In the cloud native field, 
> this basic technology is believed to be in the near future. Will be supported 
> by more and more vendors, such as the Spring/Spring Boot community has 
> supported or plans to support the feature of GraalVM, see this issue: 
> [https://github.com/spring-projects/spring-framework/search?q=Graalvm&type=Issues]
>  can support static compilation, so it is recommended that Log4j2 also need 
> to support static compilation as soon as possible, and can be compiled 
> correctly under GraalVM.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to