JaCoLine
JaCoLine copied to clipboard
Unmatched quote causes rest of input to be treated as quoted
-XX:GCLogFileSize=25M" ‑Dcom.sun.management.jmxremote ‑Dcom.sun.management.jmxremote.ssl=false ‑Dcom.sun.management.jmxremote.authenticate=false ‑Dcom.sun.management.jmxremote.port=9998 ‑Djava.net.preferIPv4Stack=true ‑Djava.rmi.server.hostname=${AWS_PUBLIC_HOSTNAME} ‑Dcom.sun.management.jmxremote.local.only=false ‑Dcom.sun.management.jmxremote.rmi.port=9999 ‑XX:HeapDumpPath=/var/log/pls ‑XX:+HeapDumpOnOutOfMemoryError ‑XX:+ExitOnOutOfMemoryError ‑XX:+UnlockExperimentalVMOptions ‑XX:+UseCGroupMemoryLimitForHeap ‑XX:MaxRAMFraction=2
--
The unmatched quote caused the rest of the options to be unparsed.
Better behaviour would be to detect unparsed quotes and treat them as part of the switch where they are first encountered.