GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — extra indent in comments within switch - jdk 11 · Issue #1320 · palantir/palantir-java-format

extra indent in comments within switch - jdk 11 #1320

New issue
Copy link
New issue
Copy link
Open
Open
extra indent in comments within switch - jdk 11#1320
Copy link

Description

@slawekjaranowski
slawekjaranowski
opened on Jun 12, 2025
Issue body actions

There was an simmilar issue:

  • extra indent in comments within switch #1123

was fixed by:

  • Java 21 with Graal support #1211 - 2.57.0

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+

Activity

  1. slawekjaranowski
    added 7 commits that reference this issue on Jun 12, 2025

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    68e4702

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    13255c8

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    c0bd503

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    9014c35

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    335f685

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    4bdba1c

    Use spotless / palantirJavaFormat - 2.56.0 for all JDKs

    ca812c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.