JavaNativeMethodImpl_OpenJDK7.st
branchopenjdk7-support
changeset 2050 c77d58b7076b
parent 2049 17a00367b040
child 2052 e65c246adabc
--- a/JavaNativeMethodImpl_OpenJDK7.st	Fri Feb 08 11:18:39 2013 +0100
+++ b/JavaNativeMethodImpl_OpenJDK7.st	Fri Feb 08 11:59:54 2013 +0100
@@ -50,11 +50,13 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 !
 
-_java_io_FileOutputStream_writeBytes: this _: a1 _: a2 _: a3 _: a4 
+_java_io_FileOutputStream_writeBytes: this _:bytes _: offset _: count _: append
 
     <javanative: 'java/io/FileOutputStream' name: 'writeBytes([BIIZ)V'>
 
-    ^ JavaVM unimplementedNativeMethodSignal raise
+    ^ self anyStream_write: this bytes: bytes offset: offset count: count append: append == 1.
+
+    "Modified: / 08-02-2013 / 11:57:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 _java_io_UnixFileSystem_createFileExclusively: this _: a1