liquibase.bat cannot be called from a path containing spaces

Description

Updating to liquibase 3.8.7 we experienced a problem because our liquibase was placed in c:/program files (x86)/liquibase.

When executing the liquibase.bat it gives the following error:

 

The error happens because the quotes in the path are being removed:

For us I worked around this problem by rem-ing out this JRE logic:

This code was introduced in version 3.8.5 (which I couldn't select in the affected version dropdown?).

Environment

Windows

Reporter

Matthias Zangl

Components

Affects versions

Priority

Minor
Configure