Skip to content
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

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Jul 29, 2020

It's deprecated by GraalVM: all timezones are now included.

@jaikiran @Galder does it make sense?

Fix #11054

Copy link
Contributor

@geoand geoand left a 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 {
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Member Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool

Copy link
Member

@machi1990 machi1990 left a 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

It's deprecated by GraalVM: all timezones are now included.
@gsmet gsmet force-pushed the retire-alltimezone-entirely branch from 1b6017b to 7666f6c Compare July 29, 2020 17:31
@gsmet
Copy link
Member Author

gsmet commented Jul 29, 2020

@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.

@jaikiran
Copy link
Member

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.

@gsmet gsmet merged commit 2cba69b into quarkusio:master Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Native image build shows -H:IncludeAllTimeZones and -H:IncludeTimeZones are now deprecated message
4 participants