Current implementation of MemoryAccessProvider.readPrimitiveConstant
throws JVMCIError or IllegalArgumentException in case of incorrect parameters(depending on different "wrong parameter" cases).
This behaviour is not mentioned in respective javadoc(but seems logical), so, javadoc should be updated.
throws JVMCIError or IllegalArgumentException in case of incorrect parameters(depending on different "wrong parameter" cases).
This behaviour is not mentioned in respective javadoc(but seems logical), so, javadoc should be updated.