asbachb opened a new issue #3451:
URL: https://github.com/apache/netbeans/issues/3451


   ### Apache NetBeans version
   
   Latest release
   
   ### What happened
   
   Imports for records are removed when organize imports.
   
   ### How to reproduce
   
   I created a test project to reproduce this problem more easily: 
   
[organize-imports-records-bug.zip](https://github.com/apache/netbeans/files/7857777/organize-imports-records-bug.zip)
   
   1) Enable On Save Action: Organize Imports
   2) Go to `AClass`
   3) Press `Ctrl + Shift + I` to Organize imports
   4) Save file
   
   ### Did this work correctly in an earlier version?
   
   - [ ] This used to work!
   
   ### Operating System
   
   Linux (NixOS)
   
   ### JDK
   
   OpenJDK 17
   
   ### Apache NetBeans packaging
   
   Third-party package
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
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