RFR: 8263353: assert(CompilerOracle::option_matches_type(option, value)) failed: Value must match option type [v2]

Jie Fu jiefu at openjdk.java.net
Thu Mar 11 06:31:29 UTC 2021


On Thu, 11 Mar 2021 04:42:23 GMT, Vladimir Kozlov <kvn 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?

Thanks @vnkozlov for your review.

The updated err_msg is

Missing type 'double' before option 'TestOptionDouble'

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

PR: https://git.openjdk.java.net/jdk/pull/2910


More information about the hotspot-compiler-dev mailing list