jvmfwk: Use appropriate OUString functions on string constants

Change-Id: I5a16fdd9217f0523212842650d74f504f17848fd