Skip to content

extra indent in comments within switch - jdk 11 #1320

@slawekjaranowski

Description

@slawekjaranowski

There was an simmilar issue:

was fixed by:

But issue still exist if we use JDK 11 as runtime.

When I have a build in matrix for many JDKs, one build will fail.

So code:

 switch (handling) {
                    // comments
                case expand:
...
}

is ok if I use JDK 11 but fail if use JDK 17+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions