--- a/JavaNativeMethodImpl_OpenJDK6.st Thu Sep 05 17:09:27 2013 +0100
+++ b/JavaNativeMethodImpl_OpenJDK6.st Thu Sep 05 22:08:59 2013 +0100
@@ -8431,7 +8431,7 @@
FileIOTrace ifTrue:[
('JAVA: getFilePointer on ' , file pathName) infoPrintCR.
].
- ^file position0Based
+ ^file position
"Modified: / 06-07-2012 / 12:40:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
@@ -8586,7 +8586,6 @@
!
_java_io_RandomAccessFile_seek: this _:a1 _: a2
-
<javanative: 'java/io/RandomAccessFile' name: 'seek(J)V'>
|file pos|
@@ -8598,7 +8597,7 @@
].
pos := a1.
- file position0Based:pos
+ file position:pos
"Created: / 04-02-1998 / 13:25:38 / cg"
"Modified (comment): / 06-07-2012 / 12:39:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -19764,7 +19763,6 @@
!
_sun_nio_ch_FileChannelImpl_position0: this _:a1 _: a2 _: a3
-
<javanative: 'sun/nio/ch/FileChannelImpl' name: 'position0(Ljava/io/FileDescriptor;J)J'>
| fd position stream |
@@ -19777,8 +19775,8 @@
^nil.
].
^position = -1
- ifTrue:[stream position0Based]
- ifFalse:[stream position0Based: position. 0].
+ ifTrue:[stream position]
+ ifFalse:[stream position: position. 0].
"Modified: / 10-07-2012 / 01:30:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
@@ -19791,7 +19789,6 @@
!
_sun_nio_ch_FileChannelImpl_size0: this _:a1
-
<javanative: 'sun/nio/ch/FileChannelImpl' name: 'size0(Ljava/io/FileDescriptor;)J'>
| fd stream |
@@ -19802,7 +19799,7 @@
JavaVM throwIOExceptionWithMessage:'Not a file stream'.
^nil.
].
- ^stream fileSize max: stream position0Based.
+ ^stream fileSize max: stream position.
"Modified: / 10-07-2012 / 01:28:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
@@ -21318,20 +21315,18 @@
^ JavaVM unimplementedNativeMethodSignal raise
! !
-!JavaNativeMethodImpl_OpenJDK6 class methodsFor:'others'!
+!JavaNativeMethodImpl_OpenJDK6 class methodsFor:'documentation'!
+
+version
+ ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK6.st,v 1.5 2013-08-10 11:19:30 stefan Exp $'
+!
+
+version_CVS
+ ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK6.st,v 1.5 2013-08-10 11:19:30 stefan Exp $'
+!
version_HG
^ '$Changeset: <not expanded> $'
! !
-!JavaNativeMethodImpl_OpenJDK6 class methodsFor:'documentation'!
-
-version
- ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK6.st,v 1.4 2013-04-27 12:29:56 cg Exp $'
-!
-
-version_CVS
- ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK6.st,v 1.4 2013-04-27 12:29:56 cg Exp $'
-! !
-