RFR: 8268897: [TESTBUG] compiler/compilercontrol/mixed/RandomCommandsTest.java must not fail on Command.quiet
Nils Eliasson
neliasso at openjdk.java.net
Wed Jun 30 11:56:17 UTC 2021
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
-------------
Commit messages:
- Filter out quiet command
Changes: https://git.openjdk.java.net/jdk/pull/4635/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4635&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8268897
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/4635.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4635/head:pull/4635
PR: https://git.openjdk.java.net/jdk/pull/4635
More information about the hotspot-compiler-dev
mailing list