RFR (XS) 8252120: compiler/oracle/TestCompileCommand.java misspells "occured"

Igor Ignatyev igor.ignatyev at oracle.com
Thu Aug 20 16:16:33 UTC 2020


Hi Aleksey,

LGTM

-- Igor

> On Aug 20, 2020, at 8:02 AM, Aleksey Shipilev <shade at redhat.com> wrote:
> 
> Bug:
>  https://bugs.openjdk.java.net/browse/JDK-8252120
> 
> Noticed this while reading some related test code. There is no way VM could emit the message the assert checks, which means the assert always passes. See the history in the bug.
> 
> Fix:
> 
> diff -r 53629f4016c6 test/hotspot/jtreg/compiler/oracle/TestCompileCommand.java
> --- a/test/hotspot/jtreg/compiler/oracle/TestCompileCommand.java        Thu Aug 20 11:42:12 2020 +0100
> +++ b/test/hotspot/jtreg/compiler/oracle/TestCompileCommand.java        Thu Aug 20 17:01:40 2020 +0200
> @@ -63,5 +63,5 @@
>         }
> 
> -        out.shouldNotContain("CompileCommand: An error occured during parsing");
> +        out.shouldNotContain("CompileCommand: An error occurred during parsing");
>         out.shouldHaveExitValue(0);
>     }
> 
> 
> Testing: affected test
> 
> -- 
> Thanks,
> -Aleksey
> 



More information about the hotspot-compiler-dev mailing list