On Mon, 2 Jun 2025 15:35:34 GMT, Vicente Romero <vrom...@openjdk.org> wrote:

> the fact that not including a space between the comment and the previous 
> element created havoc seems to indicate that the scanner is pretty fragile 
> and could break again in the future. We should probably file a follow up to 
> make this code more reliable

Yes, seems reasonable.  My initial solution was to try to make use of the 
shared 
[CommandLine](https://github.com/openjdk/jdk/blob/master/src/jdk.internal.opt/share/classes/jdk/internal/opt/CommandLine.java)
 class, but the parsing of the launcher is too early in the game.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25589#issuecomment-2931306833

Reply via email to