Skip to content

Native compilation improvements #297

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

Merged
merged 8 commits into from
Jan 14, 2021
Merged

Native compilation improvements #297

merged 8 commits into from
Jan 14, 2021

Conversation

metacosm
Copy link
Collaborator

No description provided.

This is required to avoid having to register Jackson's ClassSerializer
class, not to mention the fact that it really doesn't make sense to
serialize the class in the first place.
@metacosm metacosm self-assigned this Jan 13, 2021
This is currently not working very well because for some reason, the
native test is run even when the native profile isn't activated when it
shouldn't be, hence the current exclusion in the surefire
configuration). More importantly, though, it's not activated either when
the profile is activated so something is going on that I'm just not
seeing right now. Committing for sync purposes.
@metacosm metacosm marked this pull request as ready for review January 14, 2021 10:33
ConfigurationServiceRecorder recorder) {
final var index = combinedIndexBuildItem.getIndex();
final var resourceControllers = index.getAllKnownImplementors(RESOURCE_CONTROLLER);

final var classOutput = new GeneratedClassGizmoAdaptor(generatedClass, true);
final List<ControllerConfiguration> controllerConfigs =
resourceControllers.stream()
.map(ci -> createControllerConfiguration(ci, classOutput, additionalBeans))
.map(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ouch.. did the fmt plugin do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep… 😞

@adam-sandor
Copy link
Collaborator

LGTM

@adam-sandor adam-sandor merged commit a89a718 into master Jan 14, 2021
@adam-sandor adam-sandor deleted the native-compilation branch January 14, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants