[jdk17] RFR: 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Vladimir Kozlov
kvn at openjdk.java.net
Wed Jun 30 19:54:03 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
Trivial.
-------------
Marked as reviewed by kvn (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/184
More information about the hotspot-compiler-dev
mailing list