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

   ### Apache NetBeans version
   
   Apache NetBeans 32
   
   ### What happened
   
   I am using only Ant in my projects for a couple of reasons. Tested with 
NetBeans 31, 32.
   When using in my project anything from java.sql.* the `Fix Imports` and 
`Alt+Shift+i` does not work.
   It suggests either nothing e.g. PreparedStatement, or invalid packages for 
e.g. Connection.
   If i import manually java.sql.PreparedStatement or java.sql.Connection, by 
code compiles properly.
   
   
[JavaApplication1.zip](https://github.com/user-attachments/files/35053676/JavaApplication1.zip)
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   create a new java project using Ant
   try to enter Connection, PreparedStatement or anything from java.sql package.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 28 or earlier
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   JDK 21 for netbeans, JDK 17 for my projects
   
   ### 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: [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