Skip to content

Script execution stops on line with comment (in 4.x) #1316

@georgmittendorfer

Description

@georgmittendorfer

Description

If a line starting with // is executed the script stops and the following lines are not executed anymore.

Current behavior

Running a script in interactive mode:

some command
// commented out command
another command

another command is not executed anymore

Wanted behavior

Only commented line should be ignored. Script should continue with next line.

References

This seems to be similar to #1189

Version

spring boot 4.0.2
spring shell 4.0.1
Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageTeam needs to triage and take a first look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions