[
https://issues.apache.org/jira/browse/AXIOM-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086570#comment-17086570
]
Hudson commented on AXIOM-502:
------------------------------
FAILURE: Integrated in Jenkins build axiom-1.2.x #107 (See
[https://builds.apache.org/job/axiom-1.2.x/107/])
AXIOM-502: make AXIOM usable in GraalVM Native Image (aschrijnen: rev
af0f71e833a496298c43d83996ea97bc4f152b6b)
* (edit)
aspects/core-aspects/src/main/java/org/apache/axiom/core/CoreParentNodeSupport.aj
* (add)
aspects/core-aspects/src/main/java/org/apache/axiom/core/NodesIterator.java
> Unable to use AXIOM in GraalVM Native Image application
> -------------------------------------------------------
>
> Key: AXIOM-502
> URL: https://issues.apache.org/jira/browse/AXIOM-502
> Project: Axiom
> Issue Type: Bug
> Components: Core Model
> Affects Versions: 1.2.22
> Reporter: Auke Schrijnen
> Assignee: Andreas Veithen
> Priority: Major
> Fix For: 1.2.23
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When building an application using the GraalVM Native Image compiler it fails
> when AXIOM is used in the application. The GraalVM compiler fails with the
> exception java.lang.InternalError: Enclosing method not found. (see
> [https://github.com/oracle/graal/issues/1438]).
> This seems to be caused by missing type information for an anonymous class in
> CoreParentNodeSupport. The IntelliJ decompiler decompiles the codeGetNodes
> method as return {{new 1(ajc$this_, ajc$this_, axis, type, semantics);}},
> where 1 is the missing type. The source of this code is the anonymous
> AbstractNodeIterator implementation in CoreParentNodeSupport.aj.
> When using the latest AXIOM version from the master branch (1.3.0-SNAPSHOT)
> the application builds fine since the anonymous class is replaced by a
> concrete class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]