JavaNativeMethodImpl_OpenJDK6.st
branchdevelopment
changeset 3024 93a610491bf8
parent 3021 39a55d1baeff
child 3040 ff90519ce3ac
equal deleted inserted replaced
3022:506844f3740e 3024:93a610491bf8
  9124     ^ self _java_io_WinNTFileSystem_createFileExclusively: this _: a1
  9124     ^ self _java_io_WinNTFileSystem_createFileExclusively: this _: a1
  9125 
  9125 
  9126     "Modified: / 11-11-2013 / 22:01:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9126     "Modified: / 11-11-2013 / 22:01:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9127 !
  9127 !
  9128 
  9128 
       
  9129 _java_io_Win32FileSystem_createFileExclusively: this _: a1 _: a2 
       
  9130 
       
  9131     <javanative: 'java/io/Win32FileSystem' name: 'createFileExclusively(Ljava/lang/String;Z)Z'>
       
  9132 
       
  9133     ^ self _java_io_WinNTFileSystem_createFileExclusively: this _: a1 _: a2
       
  9134 
       
  9135     "Modified: / 12-02-2014 / 10:51:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
  9136 !
       
  9137 
  9129 _java_io_Win32FileSystem_delete0: this _: a1
  9138 _java_io_Win32FileSystem_delete0: this _: a1
  9130 
  9139 
  9131     <javanative: 'java/io/Win32FileSystem' name: 'delete0(Ljava/io/File;)Z'>
  9140     <javanative: 'java/io/Win32FileSystem' name: 'delete0(Ljava/io/File;)Z'>
  9132 
  9141 
  9133     ^ self _java_io_WinNTFileSystem_delete0: this _: a1
  9142     ^ self _java_io_WinNTFileSystem_delete0: this _: a1
  9198 
  9207 
  9199 _java_io_Win32FileSystem_listRoots0: this
  9208 _java_io_Win32FileSystem_listRoots0: this
  9200 
  9209 
  9201     <javanative: 'java/io/Win32FileSystem' name: 'listRoots0()I'>
  9210     <javanative: 'java/io/Win32FileSystem' name: 'listRoots0()I'>
  9202 
  9211 
  9203     ^ JavaVM unimplementedNativeMethodSignal raise
  9212     | driveMask codePointA |
  9204 
  9213 
  9205     "Modified: / 11-02-2014 / 18:35:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9214     driveMask := 0.
       
  9215     codePointA := $A codePoint.
       
  9216     OperatingSystem getDriveList do:[:each |
       
  9217         driveMask := driveMask | (1 << (each first codePoint - codePointA))
       
  9218     ].
       
  9219     ^driveMask
       
  9220 
       
  9221     "
       
  9222     self _java_io_Win32FileSystem_listRoots0: nil.
       
  9223     "
       
  9224 
       
  9225     "Modified: / 12-02-2014 / 10:45:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9206 !
  9226 !
  9207 
  9227 
  9208 _java_io_Win32FileSystem_rename0: this _: a1 _: a2
  9228 _java_io_Win32FileSystem_rename0: this _: a1 _: a2
  9209 
  9229 
  9210     <javanative: 'java/io/Win32FileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>
  9230     <javanative: 'java/io/Win32FileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>
  9274 
  9294 
  9275 _java_io_WinNTFileSystem_checkAccess: this _:a1 _: a2
  9295 _java_io_WinNTFileSystem_checkAccess: this _:a1 _: a2
  9276 
  9296 
  9277     <javanative: 'java/io/WinNTFileSystem' name: 'checkAccess(Ljava/io/File;I)Z'>
  9297     <javanative: 'java/io/WinNTFileSystem' name: 'checkAccess(Ljava/io/File;I)Z'>
  9278 
  9298 
  9279     ^ JavaVM unimplementedNativeMethodSignal raise
  9299     ^ self _java_io_UnixFileSystem_checkAccess: this _:a1 _: a2
       
  9300 
       
  9301     "Modified: / 12-02-2014 / 09:39:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9280 !
  9302 !
  9281 
  9303 
  9282 _java_io_WinNTFileSystem_createDirectory: this _:a1
  9304 _java_io_WinNTFileSystem_createDirectory: this _:a1
  9283 
  9305 
  9284     <javanative: 'java/io/WinNTFileSystem' name: 'createDirectory(Ljava/io/File;)Z'>
  9306     <javanative: 'java/io/WinNTFileSystem' name: 'createDirectory(Ljava/io/File;)Z'>
  9285 
  9307 
  9286     ^ JavaVM unimplementedNativeMethodSignal raise
  9308     ^ self _java_io_UnixFileSystem_createDirectory: this _:a1
       
  9309 
       
  9310     "Modified: / 12-02-2014 / 09:39:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9287 !
  9311 !
  9288 
  9312 
  9289 _java_io_WinNTFileSystem_createFileExclusively: this _: name
  9313 _java_io_WinNTFileSystem_createFileExclusively: this _: name
  9290 
  9314 
  9291     <javanative: 'java/io/WinNTFileSystem' name: 'createFileExclusively(Ljava/lang/String;)Z'>
  9315     <javanative: 'java/io/WinNTFileSystem' name: 'createFileExclusively(Ljava/lang/String;)Z'>
  9308 
  9332 
  9309 _java_io_WinNTFileSystem_createFileExclusively: this _: a1 _: a2 
  9333 _java_io_WinNTFileSystem_createFileExclusively: this _: a1 _: a2 
  9310 
  9334 
  9311     <javanative: 'java/io/WinNTFileSystem' name: 'createFileExclusively(Ljava/lang/String;Z)Z'>
  9335     <javanative: 'java/io/WinNTFileSystem' name: 'createFileExclusively(Ljava/lang/String;Z)Z'>
  9312 
  9336 
  9313     ^self _java_io_UnixFileSystem_setReadOnly: this _: a1
  9337     ^self _java_io_UnixFileSystem_createFileExclusively: this _: a1 _: a2
  9314 
  9338 
  9315     "Modified: / 03-02-2014 / 09:21:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9339     "Modified: / 12-02-2014 / 09:59:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9316 !
  9340 !
  9317 
  9341 
  9318 _java_io_WinNTFileSystem_delete0: this _:a1
  9342 _java_io_WinNTFileSystem_delete0: this _:a1
  9319 
  9343 
  9320     <javanative: 'java/io/WinNTFileSystem' name: 'delete0(Ljava/io/File;)Z'>
  9344     <javanative: 'java/io/WinNTFileSystem' name: 'delete0(Ljava/io/File;)Z'>
  9321 
  9345 
  9322     ^ JavaVM unimplementedNativeMethodSignal raise
  9346     ^ self _java_io_UnixFileSystem_delete0: this _:a1
       
  9347 
       
  9348     "Modified: / 12-02-2014 / 09:39:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
  9323 !
  9349 !
  9324 
  9350 
  9325 _java_io_WinNTFileSystem_getBooleanAttributes: this _:a1
  9351 _java_io_WinNTFileSystem_getBooleanAttributes: this _:a1
  9326 
  9352 
  9327     <javanative: 'java/io/WinNTFileSystem' name: 'getBooleanAttributes(Ljava/io/File;)I'>
  9353     <javanative: 'java/io/WinNTFileSystem' name: 'getBooleanAttributes(Ljava/io/File;)I'>