RFR: 8263353: assert(CompilerOracle::option_matches_type(option, value)) failed: Value must match option type [v2]
Nils Eliasson
neliasso at openjdk.java.net
Thu Mar 11 08:09:07 UTC 2021
On Thu, 11 Mar 2021 06:28:41 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> I don't think it is correct message for such option. The example specifies value after flag's name - in such case it is missing type:
> `option,Test::test,double,TestOptionDouble,3.14`
>
> Is it possible to produce more accurate error message about missing specified type?
It's correct since bool is assumed when the type is left out. But the newly suggested message is even better.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2910
More information about the hotspot-compiler-dev
mailing list