[java] Add @:keep to Resource.content; it was lost during DCE if only getString and getBytes were used
Merge pull request #2160 from jonasmalacofilho/development

[java] Add @:keep to Resource.content