[jdk17] Integrated: 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet

Nils Eliasson neliasso at openjdk.java.net
Wed Jun 30 21:08:05 UTC 2021


On Wed, 30 Jun 2021 18:39:12 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:

> Hi,
> 
> This is a small fix of a test bug.
> 
> RandomCommandsTest.java can generate command file only containing a quiet command but with an invalid method descriptor. But Quiet commands are handled separately in the parser because they are just a global option. Any method descriptor will be discarded without validation.
> 
> This fix just makes sure we don't generate bad descriptor for quiet. That means we won't expect them to fail on the descriptor.
> 
> Please review,
> Best regards,
> Nils Eliasson

This pull request has now been integrated.

Changeset: 0dc65d3c
Author:    Nils Eliasson <neliasso at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/0dc65d3c741f1b7e1bcb622eb21262a6e67a9abf
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet

Reviewed-by: kvn

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

PR: https://git.openjdk.java.net/jdk17/pull/184


More information about the hotspot-compiler-dev mailing list