Not really, the main constraint is that the string must originate from a trusted source. It's the case here as the string is coming from the javadocs