Achal1607 opened a new pull request, #8828:
URL: https://github.com/apache/netbeans/pull/8828

   - Restore correct source selection when running from `launch.json`:
   Previously, after the fix in #8470, a regression was introduced where 
running a `launch.json` configuration would execute a test source if a non-Java 
file was opened in the editor. This PR restores the original behavior so that 
the main source is executed instead of a test source when launching from 
`launch.json`.
   
   - Fix hanging when multiple main classes exist:
   When there are more than two main classes in the project, and `Run and 
Debug` is triggered without specifying `mainClass` in `launch.json` (or when no 
file is open in the editor), the launch process used to hang indefinitely. This 
PR prevents that by handling the ambiguity gracefully, avoiding a hang and 
prompting the user as needed.


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