-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Don't pass '--enable-monitoring=heapdump' unconditionally on windows #43896
Conversation
@@ -932,7 +932,10 @@ public NativeImageInvokerInfo build() { | |||
} | |||
|
|||
List<NativeConfig.MonitoringOption> monitoringOptions = new ArrayList<>(); | |||
monitoringOptions.add(NativeConfig.MonitoringOption.HEAPDUMP); | |||
if (!SystemUtils.IS_OS_WINDOWS || containerBuild) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use SmallRye Common OS instead? Something like OS.WINDOWS.isCurrent()
.
I'm not asking to change it everywhere but let's use this one when we add new code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use SmallRye Common OS instead? Something like OS.WINDOWS.isCurrent().
Sure.
I'm not asking to change it everywhere but let's use this one when we add new code.
I think I prefer changing it everywhere so that future me (and others I hope) will see what's being used and not mistakenly use SystemUtils
:)
This comment has been minimized.
This comment has been minimized.
57f936f
to
1f4c27c
Compare
The feature is not supported on Windows Closes quarkusio#43895
1f4c27c
to
5ef0afa
Compare
The previous patch was resulting in an empty
Should be fixed now. |
This comment has been minimized.
This comment has been minimized.
Instead of org.apache.commons.lang3.SystemUtils;
5ef0afa
to
26c2c48
Compare
Status for workflow
|
The feature is not supported on Windows
Closes #43895