Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.22
-
None
Description
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.
Attachments
Issue Links
- links to