The json writer does not handle reflection target name properly for primitives. java.lang.double is generated instead of double for instance. This leads to warning when building a native image and those hints are obviously not taken into account.