neoedmund opened a new issue, #7773:
URL: https://github.com/apache/netbeans/issues/7773

   ### Apache NetBeans version
   
   Apache NetBeans 22
   
   ### What happened
   
   When sorting members using 'organize member' function, most of the time it 
OK, but someting give error results also fail to compile.
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   I made a minimum test case
   ```
   class A {
        
   }
   public class TestOrder1 {
   
   
        public static long inst,
                        aaa,                     
                        zzz;
   
   
        public final static A s = new A();
        
   }
   ```
   sorting this result in 
   ```
   class A {
        
   }
   public class TestOrder1 {
   
   
   
        public static long aaa,
                        inst,                    
                        zzz;
   
   
        public final static A s = new A();
        public static long inst,
                        aaa,
                        zzz;
        
   }
   
   ```
   which has duplicated items make compile fail
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Linux
   
   ### JDK
   
   JDK21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to