RFR(S): 8027829: CompileCommand does not accept all JLS-conformant class/method names

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Nov 21 16:24:42 UTC 2014


Typo 'r' in CompilerCommand:

!       tty->print("CompilerOracle: %s ", command_names[command]);
!       tty->print("CompilerCommand: %s ", command_names[command]);

Otherwise it looks good.

Thanks,
Vladimir

On 11/21/14 8:02 AM, Nils Eliasson wrote:
> Hi,
>
> Please review this patch.
>
> It includes two fixes:
>
> 1) Improve CompileCommand so that it now accepts all JLS conformant class and method names. (With one exception - \u0000
> can not be used since the commandline parsing uses null terminated strings.) For parsing simplicity it is possible in
> some case to specify a pattern that is not JLS-conformant. That is however not a problem - the pattern will be saved as
> a symbol and will simply never match any allowed name.
>
> 2) Fixed some output to make it more understandable. The user is specifying the flag "CompileCommand" and any output
> should be annotated with the flag name, and not "CompilerOracle". Also added more describing error messages.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8027829
> Webrev: http://cr.openjdk.java.net/~neliasso/8027829/webrev.01/
>
> Regards,
> Nils Eliasson


More information about the hotspot-compiler-dev mailing list