Skip to content

Commit

Permalink
Print correct profiles in native image
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Nov 29, 2023
1 parent 44876a3 commit 0a6c902
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ void build(List<StaticBytecodeRecorderBuildItem> staticInitTasks,
startupContext, mv.getMethodParam(0));

mv.invokeStaticMethod(CONFIGURE_STEP_TIME_ENABLED);
ResultHandle profiles = mv
.invokeStaticMethod(ofMethod(ConfigUtils.class, "getProfiles", List.class));

tryBlock = mv.tryBlock();
tryBlock.invokeStaticMethod(CONFIGURE_STEP_TIME_START);
Expand Down Expand Up @@ -298,7 +296,7 @@ void build(List<StaticBytecodeRecorderBuildItem> staticInitTasks,
tryBlock.load(applicationInfo.getVersion()),
tryBlock.load(Version.getVersion()),
featuresHandle,
profiles,
tryBlock.invokeStaticMethod(ofMethod(ConfigUtils.class, "getProfiles", List.class)),
tryBlock.load(LaunchMode.DEVELOPMENT.equals(launchMode.getLaunchMode())),
tryBlock.load(launchMode.isAuxiliaryApplication()));

Expand Down

0 comments on commit 0a6c902

Please sign in to comment.