Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4235

Formatting Issue in Records

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.3
    • 12.0
    • java - Editor
    • None

    Description

      Formatting of below code snippet is not proper in Jdk-14/jdk-15

      public record Rec1{}

       

      expected output

      public record Rec1{

      }

      actual output

      public record Rec1

      {         }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arusinha Arunava Sinha
            arusinha Arunava Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m

                Slack

                  Issue deployment