Skip to content

Extract non-overridable SystemJvmOptions #92696

Open
@pgomulka

Description

@pgomulka

Description

Some of the jvm options in SystemJvmOptions are not meant to be overridable by a user. We should consider refactoring them into a separate Options class and at least warn when a user is attempting to override them.
One instance of this is "-Djava.locale.providers=SPI,COMPAT",
if a user simply sets this to other value, he will get incorrect date/time calculations (this mostly affects week based date formats).
There might be more settings falling into non-overridable category (log4j settings comes to mind)
Changing values of these should be still ok, but user should be aware that he is doing this on his own responsibility. We don't have test coverage for most of these settings being changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions