Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable and remove unsupported features from native images #25179

Closed
sdeleuze opened this issue Jun 3, 2020 · 0 comments
Closed

Disable and remove unsupported features from native images #25179

sdeleuze opened this issue Jun 3, 2020 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@sdeleuze
Copy link
Contributor

sdeleuze commented Jun 3, 2020

The work done on spring-graalvm-native substitutions has allows to identify a first set of classes where we need to add a specific code path for GraalVM native images:

  • Remove load time weaving capabilities from org.springframework.context.support.AbstractApplicationContext
  • Remove ConfigurationClassEnhancer usage from org.springframework.context.annotation.ConfigurationClassPostProcessor
  • Remove usage of ObjenesisCglibAopProxy from org.springframework.aop.framework.DefaultAopProxyFactory
  • Remove CglibSubclassCreator usage from org.springframework.beans.factory.support.CglibSubclassingInstantiationStrategy

There are likely other ones to be identified.

@sdeleuze sdeleuze added the type: enhancement A general enhancement label Jun 3, 2020
@sdeleuze sdeleuze added this to the 5.3 M1 milestone Jun 3, 2020
@sdeleuze sdeleuze self-assigned this Jun 3, 2020
kenny5he pushed a commit to kenny5he/spring-framework that referenced this issue Jun 21, 2020
This commit removes load time weaving, CGLIB and Objenesis support
from native images.

GraalDetector has been removed for now because of
oracle/graal#2594. It should be reintroduced
when this bug will be fixed with NativeImageDetector class name.

Closes spring-projectsgh-25179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant