Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In certain scenarios Apache CXF does aggressive code generation and dynamic class loading at runtime. This violates one of the GraalVM's ahead-of-time compilation limitations which states that "... all classes and all bytecodes that are reachable at run time must be known at build time". Since 3.4.2 / 3.5.x there is a way to capture all dynamically generated classes , in order to include them into the native image at build time and then use class loading (instead of class generation) at runtime. It eliminates the need for dynamic class generation and loading. The capability is provided by GeneratedClassClassLoaderCapture extension (shown below).

...