Skip to content

[1.x] regression in JVM parameters parsing #8755

@tpetillot

Description

@tpetillot

steps

Configure .jvmopts with a comment at the end of the line:

--add-opens=java.base/java.util=ALL-UNNAMED # A comment

problem

Error: Could not find or load main class #

expectation

Was working previously, since 921efce#diff-64087abe6d4b2df660baa360f5041e2e3c05ed9d406e6d297d13c314c3f3ded5R808 it must be defined on a dedicated line instead:

# A comment
--add-opens=java.base/java.util=ALL-UNNAMED

notes

The workaround is easy, the issue is just to notify the breaking change.

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