"Run Single File" does not support CLI-Arguments with spaces #4622
Labels
Contribution welcome
An issue or feature not currently being worked on, but a contribution would be welcomed!
good first issue
Java
[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
kind:bug
Bug report or fix
Milestone
Apache NetBeans version
Apache NetBeans 14
What happened
In the Properties window of a "runnable" java source file there is a setting for "Arguments". These arguments are handed over to the file when run as "single file". But this property does not handle spaces in arguments properly.
How to reproduce
works good. in
main
theargs
array has 3 entries as expecteddoes not work as expected.
args
will have 8 entries.Did this work correctly in an earlier version?
No / Don't know
Operating System
windows 10
JDK
jdk 11
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: