-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Retire includeAllTimeZones for native executables entirely #11065
Conversation
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.
Makes sense to me, I just added a single comment
* Keeping it around for now as it marks the extension requiring all the timezones | ||
* and better wait for the situation to fully settle on the GraalVM side | ||
* before removing it entirely. | ||
*/ | ||
public final class NativeImageEnableAllTimeZonesBuildItem extends MultiBuildItem { |
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.
Maybe mark it with @Deprecated
?
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.
So I thought about that and decided not to for now. Otherwise people would remove the marker and I think keeping it for a few versions to be sure they don't retropedal is a good thing.
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.
OK, in the end I made it deprecated.
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.
Cool
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.
Maybe we should remove the usage of the built item too
Line 85 in 46b3b79
return new NativeImageEnableAllTimeZonesBuildItem(); quarkus/core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java
Line 41 in 42fb948
List<NativeImageEnableAllTimeZonesBuildItem> nativeImageEnableAllTimeZonesBuildItems, - From this list https://github.com/quarkusio/quarkus/blob/master/docs/src/main/asciidoc/writing-extensions.adoc#213-native-executable-support
It's deprecated by GraalVM: all timezones are now included.
1b6017b
to
7666f6c
Compare
@machi1990 done except for the MySQL one. Let's still produce them for now as some sort of documentation. We can drop them later on when we remove the class. |
This looks fine to me, @gsmet. On a slightly related note (one which shouldn't change the decision in this PR) is this current issue in GraalVM oracle/graal#2692 which currently affects some of the Quarkus applications. |
It's deprecated by GraalVM: all timezones are now included.
@jaikiran @Galder does it make sense?
Fix #11054