Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Modifying SpringApplication on the fly - #1099

Closed
aclement wants to merge 1 commit into
spring-attic:mainfrom
aclement:modifying-spring-application
Closed

aclement wants to merge 1 commit into
spring-attic:mainfrom
aclement:modifying-spring-application

Conversation

@aclement

Copy link
Copy Markdown
Contributor

This removes SpringApplication.java from the spring-native project. Instead it includes a contributor that rewrites the bytecode of the SpringApplication visible on the class path and puts it into the output folder of the project. If patches cannot be made that are expected to be made, an exception will be thrown.

@sdeleuze

sdeleuze commented Sep 29, 2021 •

Copy link
Copy Markdown
Contributor

Awesome, merged with 2 refinements:

  • Fix for the duplicated main method error 06fef08
  • Takes in account modifications from 538faac

I have created the follow-up #1102 issue.

@sdeleuze sdeleuze closed this Sep 29, 2021
@sdeleuze sdeleuze changed the title First pass at modifying SpringApplication on the fly Modifying SpringApplication on the fly Sep 29, 2021
@sdeleuze sdeleuze added this to the 0.11.0-M1 milestone Sep 29, 2021
@sdeleuze sdeleuze added theme: aot type: enhancement A general enhancement labels Sep 29, 2021
sdeleuze added a commit that referenced this pull request Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type: enhancement A general enhancement

Development

Successfully merging this pull request may close these issues.

2 participants