RFR: 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Nils Eliasson
neliasso at openjdk.java.net
Wed Jun 30 19:13:07 UTC 2021
On Wed, 30 Jun 2021 11:46:16 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
Moving to JDK 17.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4635
More information about the hotspot-compiler-dev
mailing list