Implement java/lang/String->getBytes()[B
@@ -219,6 +219,10 @@ public abstract class AbstractJni implements Jni {
return new StringObject(vm, sig.toCharsString());
}
break;
+ case "java/lang/String->getBytes()[B": {
+ String str = (String) dvmObject.getValue();
+ return new ByteArray(str.getBytes());
+ }
case "java/lang/String->getBytes(Ljava/lang/String;)[B":
String str = (String) dvmObject.getValue();
StringObject charsetName = vaList.getObject(0);
