Akhilesh Singh created NETBEANS-3624:
----------------------------------------

             Summary: Formatting issue in 'records' (JDK-14)
                 Key: NETBEANS-3624
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3624
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
         Environment: OpenJDK Runtime Environment 14-ea+27-1339
            Reporter: Akhilesh Singh


Incorrect formatting for the new feature 'record' on pressing ALT-SHIFT-F

Steps :

Type the below code on editor & Press ALT-SHIFT-F :


 record Test2(long i, int j) {
public void m(){
System.out.println();
} 
}
  

Actual Result :

record

Test2(long i
 , int j

) {
public void m() {
 System.out.println();
 }
}

 

Expected Result :

record Test2(long i, int j) {
     public void m(){
     System.out.println();
     } 
}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to