+
Skip to content

Windows kc.bat handling of serveral parameter types is not correct #33970

@shawkins

Description

@shawkins

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

dist/quarkus

Describe the bug

There are several places in the kc.bat script that consume parameters in ways that are not expected.

Version

latest

Regression

  • The issue is a regression

Expected behavior

Parameters should get passed to keycloak correctly.

Actual behavior

--debug always consumes the following parameter, even if it not a port (this is the behavior of kc.sh)
-D does not account for the default parameter separation around =, so only the key gets added, e.g. -Dsome=thing gets added to the java command as -Dsome

How to Reproduce?

See above

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载