JavaNativeMethodImpl_OpenJDK7.st
branchcvs_MAIN
changeset 3360 1a8899091305
parent 3324 a58245c0e83a
child 3412 df11bb428463
equal deleted inserted replaced
3351:9be260d71c34 3360:1a8899091305
     1 "
     1 "
     2  COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
     2  COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
     3                             SWING Research Group, Czech Technical University in Prague
     3                             SWING Research Group, Czech Technical University in Prague
     4 
     4 
     5  This software is furnished under a license and may be used
     5  This software is furnished under a license and may be used
     6  only in accordance with the terms of that license and with the
     6  only in accordance with the terms of that license and with the
     7  inclusion of the above copyright notice.   This software may not
     7  inclusion of the above copyright notice.   This software may not
    13 
    13 
    14 JavaNativeMethodImpl_OpenJDK6 subclass:#JavaNativeMethodImpl_OpenJDK7
    14 JavaNativeMethodImpl_OpenJDK6 subclass:#JavaNativeMethodImpl_OpenJDK7
    15 	instanceVariableNames:''
    15 	instanceVariableNames:''
    16 	classVariableNames:''
    16 	classVariableNames:''
    17 	poolDictionaries:'JavaVMData'
    17 	poolDictionaries:'JavaVMData'
    18 	category:'Languages-Java-Support-OpenJDK7'
    18 	category:'Languages-Java-Support-Java 7'
    19 !
    19 !
    20 
    20 
    21 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'documentation'!
    21 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'documentation'!
    22 
    22 
    23 copyright
    23 copyright
    24 "
    24 "
    25  COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
    25  COPYRIGHT (c) 2010-2015 by Jan Vrany, Jan Kurs and Marcel Hlopko
    26                             SWING Research Group, Czech Technical University in Prague
    26                             SWING Research Group, Czech Technical University in Prague
    27 
    27 
    28  This software is furnished under a license and may be used
    28  This software is furnished under a license and may be used
    29  only in accordance with the terms of that license and with the
    29  only in accordance with the terms of that license and with the
    30  inclusion of the above copyright notice.   This software may not
    30  inclusion of the above copyright notice.   This software may not
    34 "
    34 "
    35 ! !
    35 ! !
    36 
    36 
    37 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.io'!
    37 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.io'!
    38 
    38 
    39 _java_io_FileOutputStream_open: this _: a1 _: a2 
    39 _java_io_FileInputStream_read0: this 
       
    40 
       
    41     <javanative: 'java/io/FileInputStream' name: 'read0()I'>
       
    42 
       
    43     ^ self _java_io_FileInputStream_read: this
       
    44 
       
    45     "Modified: / 07-02-2014 / 09:31:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    46 !
       
    47 
       
    48 _java_io_FileOutputStream_open: this _: a1 _: a2
    40 
    49 
    41     <javanative: 'java/io/FileOutputStream' name: 'open(Ljava/lang/String;Z)V'>
    50     <javanative: 'java/io/FileOutputStream' name: 'open(Ljava/lang/String;Z)V'>
    42 
    51 
    43     ^ JavaVM unimplementedNativeMethodSignal raise
    52     ^ self commonOpen: this path: a1 forAppend: a2 == 1
    44 !
    53 
    45 
    54     "Modified: / 12-11-2013 / 22:48:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    46 _java_io_FileOutputStream_write: this _: a1 _: a2 
    55 !
       
    56 
       
    57 _java_io_FileOutputStream_write: this _: byte _: append
    47 
    58 
    48     <javanative: 'java/io/FileOutputStream' name: 'write(IZ)V'>
    59     <javanative: 'java/io/FileOutputStream' name: 'write(IZ)V'>
    49 
    60     "
    50     ^ JavaVM unimplementedNativeMethodSignal raise
    61     /**
       
    62      * Writes the specified byte to this file output stream.
       
    63      *
       
    64      * @param   b   the byte to be written.
       
    65      * @param   append   {@code true} if the write operation first
       
    66      *     advances the position to the end of file
       
    67      */
       
    68     "
       
    69     | fdobj fd stream b |
       
    70 
       
    71     "/Java byte is signed, make it integer in 0-255"
       
    72     b := byte < 0 ifTrue:[ byte + 256] ifFalse:[byte ].
       
    73     fdobj := (this instVarNamed: #fd).
       
    74     fd    := fdobj instVarNamed: #fd.
       
    75     stream := self getOpenFileAt:fd.
       
    76     [
       
    77         append == 1 ifTrue:[ stream setToEnd ].
       
    78         stream nextPut: b.
       
    79     ] on: Error do:[:ex|
       
    80         JavaVM throwIOExceptionWithMessage:ex description
       
    81     ]
       
    82 
       
    83     "Modified: / 13-11-2013 / 09:34:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    51 !
    84 !
    52 
    85 
    53 _java_io_FileOutputStream_writeBytes: this _:bytes _: offset _: count _: append
    86 _java_io_FileOutputStream_writeBytes: this _:bytes _: offset _: count _: append
    54 
    87 
    55     <javanative: 'java/io/FileOutputStream' name: 'writeBytes([BIIZ)V'>
    88     <javanative: 'java/io/FileOutputStream' name: 'writeBytes([BIIZ)V'>
    56 
    89 
    57     ^ self anyStream_write: this bytes: bytes offset: offset count: count append: append == 1.
    90     ^ self anyStream_write: this bytes: bytes offset: offset count: count append: append == 1.
    58 
    91 
    59     "Modified: / 08-02-2013 / 11:57:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    92     "Modified: / 08-02-2013 / 11:57:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    60 !
       
    61 
       
    62 _java_io_UnixFileSystem_createFileExclusively: this _: a1 
       
    63 
       
    64     <javanative: 'java/io/UnixFileSystem' name: 'createFileExclusively(Ljava/lang/String;)Z'>
       
    65 
       
    66     ^ JavaVM unimplementedNativeMethodSignal raise
       
    67 !
       
    68 
       
    69 _java_io_Win32FileSystem_canonicalize0: this _: a1 
       
    70 
       
    71     <javanative: 'java/io/Win32FileSystem' name: 'canonicalize0(Ljava/lang/String;)Ljava/lang/String;'>
       
    72 
       
    73     ^ JavaVM unimplementedNativeMethodSignal raise
       
    74 !
       
    75 
       
    76 _java_io_Win32FileSystem_canonicalizeWithPrefix0: this _: a1 _: a2 
       
    77 
       
    78     <javanative: 'java/io/Win32FileSystem' name: 'canonicalizeWithPrefix0(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;'>
       
    79 
       
    80     ^ JavaVM unimplementedNativeMethodSignal raise
       
    81 !
       
    82 
       
    83 _java_io_Win32FileSystem_checkAccess: this _: a1 _: a2 
       
    84 
       
    85     <javanative: 'java/io/Win32FileSystem' name: 'checkAccess(Ljava/io/File;I)Z'>
       
    86 
       
    87     ^ JavaVM unimplementedNativeMethodSignal raise
       
    88 !
       
    89 
       
    90 _java_io_Win32FileSystem_createDirectory: this _: a1 
       
    91 
       
    92     <javanative: 'java/io/Win32FileSystem' name: 'createDirectory(Ljava/io/File;)Z'>
       
    93 
       
    94     ^ JavaVM unimplementedNativeMethodSignal raise
       
    95 !
       
    96 
       
    97 _java_io_Win32FileSystem_createFileExclusively: this _: a1 
       
    98 
       
    99     <javanative: 'java/io/Win32FileSystem' name: 'createFileExclusively(Ljava/lang/String;)Z'>
       
   100 
       
   101     ^ JavaVM unimplementedNativeMethodSignal raise
       
   102 !
       
   103 
       
   104 _java_io_Win32FileSystem_delete0: this _: a1 
       
   105 
       
   106     <javanative: 'java/io/Win32FileSystem' name: 'delete0(Ljava/io/File;)Z'>
       
   107 
       
   108     ^ JavaVM unimplementedNativeMethodSignal raise
       
   109 !
       
   110 
       
   111 _java_io_Win32FileSystem_getBooleanAttributes: this _: a1 
       
   112 
       
   113     <javanative: 'java/io/Win32FileSystem' name: 'getBooleanAttributes(Ljava/io/File;)I'>
       
   114 
       
   115     ^ JavaVM unimplementedNativeMethodSignal raise
       
   116 !
       
   117 
       
   118 _java_io_Win32FileSystem_getDriveDirectory: this _: a1 
       
   119 
       
   120     <javanative: 'java/io/Win32FileSystem' name: 'getDriveDirectory(I)Ljava/lang/String;'>
       
   121 
       
   122     ^ JavaVM unimplementedNativeMethodSignal raise
       
   123 !
       
   124 
       
   125 _java_io_Win32FileSystem_getLastModifiedTime: this _: a1 
       
   126 
       
   127     <javanative: 'java/io/Win32FileSystem' name: 'getLastModifiedTime(Ljava/io/File;)J'>
       
   128 
       
   129     ^ JavaVM unimplementedNativeMethodSignal raise
       
   130 !
       
   131 
       
   132 _java_io_Win32FileSystem_getLength: this _: a1 
       
   133 
       
   134     <javanative: 'java/io/Win32FileSystem' name: 'getLength(Ljava/io/File;)J'>
       
   135 
       
   136     ^ JavaVM unimplementedNativeMethodSignal raise
       
   137 !
       
   138 
       
   139 _java_io_Win32FileSystem_getSpace0: this _: a1 _: a2 
       
   140 
       
   141     <javanative: 'java/io/Win32FileSystem' name: 'getSpace0(Ljava/io/File;I)J'>
       
   142 
       
   143     ^ JavaVM unimplementedNativeMethodSignal raise
       
   144 !
       
   145 
       
   146 _java_io_Win32FileSystem_list: this _: a1 
       
   147 
       
   148     <javanative: 'java/io/Win32FileSystem' name: 'list(Ljava/io/File;)[Ljava/lang/String;'>
       
   149 
       
   150     ^ JavaVM unimplementedNativeMethodSignal raise
       
   151 !
       
   152 
       
   153 _java_io_Win32FileSystem_listRoots0: this 
       
   154 
       
   155     <javanative: 'java/io/Win32FileSystem' name: 'listRoots0()I'>
       
   156 
       
   157     ^ JavaVM unimplementedNativeMethodSignal raise
       
   158 !
       
   159 
       
   160 _java_io_Win32FileSystem_rename0: this _: a1 _: a2 
       
   161 
       
   162     <javanative: 'java/io/Win32FileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>
       
   163 
       
   164     ^ JavaVM unimplementedNativeMethodSignal raise
       
   165 !
       
   166 
       
   167 _java_io_Win32FileSystem_setLastModifiedTime: this _: a1 _: a2 _: a3 
       
   168 
       
   169     <javanative: 'java/io/Win32FileSystem' name: 'setLastModifiedTime(Ljava/io/File;J)Z'>
       
   170 
       
   171     ^ JavaVM unimplementedNativeMethodSignal raise
       
   172 !
       
   173 
       
   174 _java_io_Win32FileSystem_setPermission: this _: a1 _: a2 _: a3 _: a4 
       
   175 
       
   176     <javanative: 'java/io/Win32FileSystem' name: 'setPermission(Ljava/io/File;IZZ)Z'>
       
   177 
       
   178     ^ JavaVM unimplementedNativeMethodSignal raise
       
   179 !
       
   180 
       
   181 _java_io_Win32FileSystem_setReadOnly: this _: a1 
       
   182 
       
   183     <javanative: 'java/io/Win32FileSystem' name: 'setReadOnly(Ljava/io/File;)Z'>
       
   184 
       
   185     ^ JavaVM unimplementedNativeMethodSignal raise
       
   186 !
       
   187 
       
   188 _java_io_WinNTFileSystem_getDriveDirectory: this _: a1 
       
   189 
       
   190     <javanative: 'java/io/WinNTFileSystem' name: 'getDriveDirectory(I)Ljava/lang/String;'>
       
   191 
       
   192     ^ JavaVM unimplementedNativeMethodSignal raise
       
   193 !
       
   194 
       
   195 _java_io_WinNTFileSystem_getSpace0: this _: a1 _: a2 
       
   196 
       
   197     <javanative: 'java/io/WinNTFileSystem' name: 'getSpace0(Ljava/io/File;I)J'>
       
   198 
       
   199     ^ JavaVM unimplementedNativeMethodSignal raise
       
   200 !
       
   201 
       
   202 _java_io_WinNTFileSystem_initIDs: this 
       
   203 
       
   204     <javanative: 'java/io/WinNTFileSystem' name: 'initIDs()V'>
       
   205 
       
   206     ^ JavaVM unimplementedNativeMethodSignal raise
       
   207 !
       
   208 
       
   209 _java_io_WinNTFileSystem_rename0: this _: a1 _: a2 
       
   210 
       
   211     <javanative: 'java/io/WinNTFileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>
       
   212 
       
   213     ^ JavaVM unimplementedNativeMethodSignal raise
       
   214 !
       
   215 
       
   216 _java_io_WinNTFileSystem_setLastModifiedTime: this _: a1 _: a2 _: a3 
       
   217 
       
   218     <javanative: 'java/io/WinNTFileSystem' name: 'setLastModifiedTime(Ljava/io/File;J)Z'>
       
   219 
       
   220     ^ JavaVM unimplementedNativeMethodSignal raise
       
   221 !
       
   222 
       
   223 _java_io_WinNTFileSystem_setPermission: this _: a1 _: a2 _: a3 _: a4 
       
   224 
       
   225     <javanative: 'java/io/WinNTFileSystem' name: 'setPermission(Ljava/io/File;IZZ)Z'>
       
   226 
       
   227     ^ JavaVM unimplementedNativeMethodSignal raise
       
   228 !
       
   229 
       
   230 _java_io_WinNTFileSystem_setReadOnly: this _: a1 
       
   231 
       
   232     <javanative: 'java/io/WinNTFileSystem' name: 'setReadOnly(Ljava/io/File;)Z'>
       
   233 
       
   234     ^ JavaVM unimplementedNativeMethodSignal raise
       
   235 ! !
    93 ! !
   236 
    94 
   237 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.lang'!
    95 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.lang'!
   238 
    96 
   239 _java_lang_ClassLoader_getCaller: this _: a1 
    97 _java_lang_ClassLoader_getCaller: this _: a1
   240 
    98 
   241     <javanative: 'java/lang/ClassLoader' name: 'getCaller(I)Ljava/lang/Class;'>
    99     <javanative: 'java/lang/ClassLoader' name: 'getCaller(I)Ljava/lang/Class;'>
   242 
   100 
   243     "/ index 0: java.lang.ClassLoader.class
   101     "/ index 0: java.lang.ClassLoader.class
   244     "/ index 1: the immediate caller of index 0.
   102     "/ index 1: the immediate caller of index 0.
   253     ^JavaVM reflection javaClassObjectForClass: ctx receiver class theNonMetaclass
   111     ^JavaVM reflection javaClassObjectForClass: ctx receiver class theNonMetaclass
   254 
   112 
   255     "Modified: / 07-02-2013 / 23:35:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   113     "Modified: / 07-02-2013 / 23:35:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   256 !
   114 !
   257 
   115 
   258 _java_lang_Thread_setNativeName: this _: a1 
   116 _java_lang_Class_getCheckMemberAccessMethod: this _: a1 
       
   117 
       
   118     <javanative: 'java/lang/Class' name: 'getCheckMemberAccessMethod(Ljava/lang/Class;)Ljava/lang/reflect/Method;'>
       
   119 
       
   120     ^ JavaVM unimplementedNativeMethodSignal raise
       
   121 !
       
   122 
       
   123 _java_lang_Thread_setNativeName: this _: a1
   259 
   124 
   260     <javanative: 'java/lang/Thread' name: 'setNativeName(Ljava/lang/String;)V'>
   125     <javanative: 'java/lang/Thread' name: 'setNativeName(Ljava/lang/String;)V'>
   261 
   126 
   262     ^ JavaVM unimplementedNativeMethodSignal raise
   127     ^ JavaVM unimplementedNativeMethodSignal raise
   263 !
   128 !
   264 
   129 
   265 _java_lang_Throwable_fillInStackTrace: this _: a1 
   130 _java_lang_Throwable_fillInStackTrace: this _: a1
   266 
   131 
   267     <javanative: 'java/lang/Throwable' name: 'fillInStackTrace(I)Ljava/lang/Throwable;'>
   132     <javanative: 'java/lang/Throwable' name: 'fillInStackTrace(I)Ljava/lang/Throwable;'>
   268 
   133 
   269     | java_lang_Throwable  exceptionObject  list  con |
   134     | java_lang_Throwable  exceptionObject  list  con |
   270 
   135 
   305     ].
   170     ].
   306     exceptionObject instVarNamed: 'backtrace' put: (list asArray).
   171     exceptionObject instVarNamed: 'backtrace' put: (list asArray).
   307     ^ nil.
   172     ^ nil.
   308 
   173 
   309     "Modified: / 08-02-2013 / 01:28:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   174     "Modified: / 08-02-2013 / 01:28:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   175 !
       
   176 
       
   177 _java_lang_UNIXProcess_forkAndExec: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8
       
   178 
       
   179     <javanative: 'java/lang/UNIXProcess' name: 'forkAndExec([B[BI[BI[B[IZ)I'>
       
   180 
       
   181     ^ JavaVM unimplementedNativeMethodSignal raise
       
   182 ! !
       
   183 
       
   184 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.net'!
       
   185 
       
   186 _java_net_NetworkInterface_getByIndex0: this _: a1 
       
   187 
       
   188     <javanative: 'java/net/NetworkInterface' name: 'getByIndex0(I)Ljava/net/NetworkInterface;'>
       
   189 
       
   190     ^ JavaVM unimplementedNativeMethodSignal raise
       
   191 ! !
       
   192 
       
   193 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.nio'!
       
   194 
       
   195 _java_nio_MappedByteBuffer_force0: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   196 
       
   197     <javanative: 'java/nio/MappedByteBuffer' name: 'force0(Ljava/io/FileDescriptor;JJ)V'>
       
   198 
       
   199     ^ JavaVM unimplementedNativeMethodSignal raise
   310 ! !
   200 ! !
   311 
   201 
   312 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.util.zip'!
   202 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - java.util.zip'!
   313 
   203 
   314 _java_util_zip_ZipFile_getCommentBytes: this _: jzentry _: a2 
   204 _java_util_zip_Deflater_deflateBytes: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 
       
   205 
       
   206     <javanative: 'java/util/zip/Deflater' name: 'deflateBytes(J[BIII)I'>
       
   207 
       
   208     ^ JavaVM unimplementedNativeMethodSignal raise
       
   209 !
       
   210 
       
   211 _java_util_zip_ZipFile_getCommentBytes: this _: jzentry _: a2
   315 
   212 
   316     <javanative: 'java/util/zip/ZipFile' name: 'getCommentBytes(J)[B'>
   213     <javanative: 'java/util/zip/ZipFile' name: 'getCommentBytes(J)[B'>
   317 
   214 
   318     |  zmember |
   215     |  zmember |
   319 
   216 
   321     ^zmember fileComment asByteArray
   218     ^zmember fileComment asByteArray
   322 
   219 
   323     "Modified: / 08-02-2013 / 09:46:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   220     "Modified: / 08-02-2013 / 09:46:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   324 !
   221 !
   325 
   222 
   326 _java_util_zip_ZipFile_getEntry: this _: a1 _: a2 _: a3 _: a4 
   223 _java_util_zip_ZipFile_getEntry: this _: a1 _: a2 _: a3 _: a4
   327 
   224 
   328     <javanative: 'java/util/zip/ZipFile' name: 'getEntry(J[BZ)J'>
   225     <javanative: 'java/util/zip/ZipFile' name: 'getEntry(J[BZ)J'>
   329     "
   226     "
   330     !!!!!!WARNING!!!!!!!!
   227     !!!!!!WARNING!!!!!!!!
   331     In Open JDK 7, it takes byte array instead of string like in Open JDK 6!!!!!!!!
   228     In Open JDK 7, it takes byte array instead of string like in Open JDK 6!!!!!!!!
   337     filename := a3 asString.
   234     filename := a3 asString.
   338     member := (zipArchive findMemberAllowForMissingTrailingSlash: filename).
   235     member := (zipArchive findMemberAllowForMissingTrailingSlash: filename).
   339     member isNil ifTrue: [
   236     member isNil ifTrue: [
   340         ^ 0
   237         ^ 0
   341     ] ifFalse: [
   238     ] ifFalse: [
   342         ^ ZipEntryCache indexOf: member ifAbsent:[
   239         "/^ ZipEntryCache indexOf: member ifAbsent:[
   343             ZipEntryCache add: member.
   240             | index |
   344             ZipEntryCache size.
   241 
   345         ]
   242             ZipEntryCacheLock critical:[
       
   243                 ZipEntryCacheFirstFree == 0 ifTrue:[
       
   244                     ZipEntryCache add: member.
       
   245                     index := ZipEntryCache size.
       
   246                 ] ifFalse:[
       
   247                     index := ZipEntryCacheFirstFree.
       
   248                     ZipEntryCacheFirstFree := ZipEntryCache at: index.
       
   249                     ZipEntryCache at: index put: member.
       
   250                 ].
       
   251             ].
       
   252             "/Logger
       
   253             "/    log: 'java.util.zip.ZipFile.getEntry() called for ', index printString
       
   254             "/    severity: #debug
       
   255             "/    facility: 'JVM'.
       
   256             ^ index.
       
   257         "/].
   346     ]
   258     ]
   347 
   259 
   348     "Modified: / 11-02-2013 / 12:45:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   260     "Modified: / 10-12-2013 / 00:56:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   349 !
   261 !
   350 
   262 
   351 _java_util_zip_ZipFile_getEntryBytes: this _: jzentry _: a2 _: type 
   263 _java_util_zip_ZipFile_getEntryBytes: this _: jzentry _: a2 _: type
   352 
   264 
   353     <javanative: 'java/util/zip/ZipFile' name: 'getEntryBytes(JI)[B'>
   265     <javanative: 'java/util/zip/ZipFile' name: 'getEntryBytes(JI)[B'>
   354 
   266 
   355     |  zmember |
   267     |  zmember |
   356 
   268 
   357     zmember := ZipEntryCache at: jzentry.
   269     zmember := ZipEntryCache at: jzentry.
       
   270     type == 0 "JZENTRY_NAME" ifTrue:[
       
   271         ^zmember fileNameLength == 0
       
   272             ifTrue:[nil]
       
   273             ifFalse:[zmember fileName asByteArray].
       
   274     ].
   358     type == 1 "JZENTRY_EXTRA" ifTrue:[
   275     type == 1 "JZENTRY_EXTRA" ifTrue:[
   359         ^zmember extraFieldLength == 0
   276         ^zmember extraFieldLength == 0
   360             ifTrue:[nil]
   277             ifTrue:[nil]
   361             ifFalse:[zmember extraField asByteArray].
   278             ifFalse:[zmember extraField asByteArray].
   362     ].
   279     ].
   366             ifFalse:[zmember fileComment asByteArray].
   283             ifFalse:[zmember fileComment asByteArray].
   367     ].
   284     ].
   368     self breakPoint: #jv.
   285     self breakPoint: #jv.
   369     JavaVM throwZipException: 'Unknown type in getEntryBytes()'.
   286     JavaVM throwZipException: 'Unknown type in getEntryBytes()'.
   370 
   287 
   371     "Modified: / 08-02-2013 / 09:53:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   288     "Modified: / 15-11-2013 / 22:58:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   372 !
   289 !
   373 
   290 
   374 _java_util_zip_ZipFile_getEntryCSize: this _: jzentry _: a2 
   291 _java_util_zip_ZipFile_getEntryCSize: this _: jzentry _: a2
   375 
   292 
   376     <javanative: 'java/util/zip/ZipFile' name: 'getEntryCSize(J)J'>
   293     <javanative: 'java/util/zip/ZipFile' name: 'getEntryCSize(J)J'>
   377 
   294 
   378     |  zmember |
   295     |  zmember |
   379 
   296 
   381     ^zmember compressedSize
   298     ^zmember compressedSize
   382 
   299 
   383     "Modified: / 08-02-2013 / 09:44:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   300     "Modified: / 08-02-2013 / 09:44:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   384 !
   301 !
   385 
   302 
   386 _java_util_zip_ZipFile_getEntryCrc: this _: jzentry _: a2 
   303 _java_util_zip_ZipFile_getEntryCrc: this _: jzentry _: a2
   387 
   304 
   388     <javanative: 'java/util/zip/ZipFile' name: 'getEntryCrc(J)J'>
   305     <javanative: 'java/util/zip/ZipFile' name: 'getEntryCrc(J)J'>
   389 
   306 
   390     |  zmember |
   307     |  zmember |
   391 
   308 
   393     ^zmember crc32
   310     ^zmember crc32
   394 
   311 
   395     "Modified: / 08-02-2013 / 09:45:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   312     "Modified: / 08-02-2013 / 09:45:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   396 !
   313 !
   397 
   314 
   398 _java_util_zip_ZipFile_getEntryFlag: this _: jzentry _: a2 
   315 _java_util_zip_ZipFile_getEntryFlag: this _: jzentry _: a2
   399 
   316 
   400     <javanative: 'java/util/zip/ZipFile' name: 'getEntryFlag(J)I'>
   317     <javanative: 'java/util/zip/ZipFile' name: 'getEntryFlag(J)I'>
   401 
   318 
   402     |  zmember |
   319     |  zmember |
   403 
   320 
   405     ^zmember generalPurposBitFlag
   322     ^zmember generalPurposBitFlag
   406 
   323 
   407     "Modified: / 08-02-2013 / 09:42:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   324     "Modified: / 08-02-2013 / 09:42:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   408 !
   325 !
   409 
   326 
   410 _java_util_zip_ZipFile_getEntryMethod: this _: jzentry _: a2 
   327 _java_util_zip_ZipFile_getEntryMethod: this _: jzentry _: a2
   411 
   328 
   412     <javanative: 'java/util/zip/ZipFile' name: 'getEntryMethod(J)I'>
   329     <javanative: 'java/util/zip/ZipFile' name: 'getEntryMethod(J)I'>
   413 
   330 
   414     |  zmember |
   331     |  zmember |
   415 
   332 
   417     ^zmember compressionMethod
   334     ^zmember compressionMethod
   418 
   335 
   419     "Modified: / 08-02-2013 / 09:44:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   336     "Modified: / 08-02-2013 / 09:44:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   420 !
   337 !
   421 
   338 
   422 _java_util_zip_ZipFile_getEntrySize: this _: jzentry _: a2 
   339 _java_util_zip_ZipFile_getEntrySize: this _: jzentry _: a2
   423 
   340 
   424     <javanative: 'java/util/zip/ZipFile' name: 'getEntrySize(J)J'>
   341     <javanative: 'java/util/zip/ZipFile' name: 'getEntrySize(J)J'>
   425 
   342 
   426     |  zmember |
   343     |  zmember |
   427 
   344 
   429     ^zmember uncompressedSize
   346     ^zmember uncompressedSize
   430 
   347 
   431     "Modified: / 08-02-2013 / 09:43:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   348     "Modified: / 08-02-2013 / 09:43:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   432 !
   349 !
   433 
   350 
   434 _java_util_zip_ZipFile_getEntryTime: this _: jzentry _: a2 
   351 _java_util_zip_ZipFile_getEntryTime: this _: jzentry _: a2
   435 
   352 
   436     <javanative: 'java/util/zip/ZipFile' name: 'getEntryTime(J)J'>
   353     <javanative: 'java/util/zip/ZipFile' name: 'getEntryTime(J)J'>
   437 
   354 
   438     |  zmember |
   355     |  zmember |
   439 
   356 
   441     ^zmember lastModFileTime
   358     ^zmember lastModFileTime
   442 
   359 
   443     "Modified: / 08-02-2013 / 09:45:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   360     "Modified: / 08-02-2013 / 09:45:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   444 !
   361 !
   445 
   362 
   446 _java_util_zip_ZipFile_open: this _: a1 _: a2 _: a3 _: a4 _: usemmap 
   363 _java_util_zip_ZipFile_open: this _: a1 _: a2 _: a3 _: a4 _: usemmap
   447 
   364 
   448     <javanative: 'java/util/zip/ZipFile' name: 'open(Ljava/lang/String;IJZ)J'>
   365     <javanative: 'java/util/zip/ZipFile' name: 'open(Ljava/lang/String;IJZ)J'>
   449 
   366 
   450     "No mmap support for zip files yet, use Open JDK 6 implementation"
   367     "No mmap support for zip files yet, use Open JDK 6 implementation"
   451 
   368 
   454     "Modified: / 23-04-2013 / 10:00:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   371     "Modified: / 23-04-2013 / 10:00:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   455 ! !
   372 ! !
   456 
   373 
   457 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - sun.misc'!
   374 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - sun.misc'!
   458 
   375 
   459 _sun_misc_Perf_attach: this _: a1 _: a2 _: a3 
   376 _sun_misc_Unsafe_copyMemory: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8
   460 
       
   461     <javanative: 'sun/misc/Perf' name: 'attach(Ljava/lang/String;II)Ljava/nio/ByteBuffer;'>
       
   462 
       
   463     ^ JavaVM unimplementedNativeMethodSignal raise
       
   464 !
       
   465 
       
   466 _sun_misc_Perf_createByteArray: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   467 
       
   468     <javanative: 'sun/misc/Perf' name: 'createByteArray(Ljava/lang/String;II[BI)Ljava/nio/ByteBuffer;'>
       
   469 
       
   470     ^ JavaVM unimplementedNativeMethodSignal raise
       
   471 !
       
   472 
       
   473 _sun_misc_Perf_createLong: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   474 
       
   475     <javanative: 'sun/misc/Perf' name: 'createLong(Ljava/lang/String;IIJ)Ljava/nio/ByteBuffer;'>
       
   476 
       
   477     | memory |
       
   478 
       
   479     memory := JavaVM performance counters at: (Java as_ST_String: a1) ifAbsentPut:[ ByteArray new: 8].
       
   480     ^JAVA java nio HeapByteBuffer new: memory with: 0 with: 8.
       
   481 
       
   482     "Modified: / 20-02-2013 / 00:13:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   483 !
       
   484 
       
   485 _sun_misc_Perf_detach: this _: a1 
       
   486 
       
   487     <javanative: 'sun/misc/Perf' name: 'detach(Ljava/nio/ByteBuffer;)V'>
       
   488 
       
   489     ^ JavaVM unimplementedNativeMethodSignal raise
       
   490 !
       
   491 
       
   492 _sun_misc_Perf_highResCounter: this 
       
   493 
       
   494     <javanative: 'sun/misc/Perf' name: 'highResCounter()J'>
       
   495 
       
   496     ^ JavaVM unimplementedNativeMethodSignal raise
       
   497 !
       
   498 
       
   499 _sun_misc_Perf_highResFrequency: this 
       
   500 
       
   501     <javanative: 'sun/misc/Perf' name: 'highResFrequency()J'>
       
   502 
       
   503     ^ JavaVM unimplementedNativeMethodSignal raise
       
   504 !
       
   505 
       
   506 _sun_misc_Perf_registerNatives: this 
       
   507 
       
   508     <javanative: 'sun/misc/Perf' name: 'registerNatives()V'>
       
   509 
       
   510     "Nothing to do here"
       
   511 
       
   512     "Modified: / 11-02-2013 / 02:53:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   513 !
       
   514 
       
   515 _sun_misc_Unsafe_copyMemory: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8 
       
   516 
   377 
   517     <javanative: 'sun/misc/Unsafe' name: 'copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'>
   378     <javanative: 'sun/misc/Unsafe' name: 'copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'>
   518 
   379 
   519     ^ JavaVM unimplementedNativeMethodSignal raise
   380     ^ JavaVM unimplementedNativeMethodSignal raise
   520 !
   381 !
   521 
   382 
   522 _sun_misc_Unsafe_defineAnonymousClass: this _: a1 _: a2 _: a3 
   383 _sun_misc_Unsafe_defineAnonymousClass: this _: a1 _: a2 _: a3
   523 
   384 
   524     <javanative: 'sun/misc/Unsafe' name: 'defineAnonymousClass(Ljava/lang/Class;[B[Ljava/lang/Object;)Ljava/lang/Class;'>
   385     <javanative: 'sun/misc/Unsafe' name: 'defineAnonymousClass(Ljava/lang/Class;[B[Ljava/lang/Object;)Ljava/lang/Class;'>
   525 
   386 
   526     ^ JavaVM unimplementedNativeMethodSignal raise
   387     ^ JavaVM unimplementedNativeMethodSignal raise
   527 !
   388 !
   528 
   389 
   529 _sun_misc_Unsafe_setMemory: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 
   390 _sun_misc_Unsafe_setMemory: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6
   530 
   391 
   531     <javanative: 'sun/misc/Unsafe' name: 'setMemory(Ljava/lang/Object;JJB)V'>
   392     <javanative: 'sun/misc/Unsafe' name: 'setMemory(Ljava/lang/Object;JJB)V'>
   532 
   393 
   533     ^ JavaVM unimplementedNativeMethodSignal raise
   394     ^ JavaVM unimplementedNativeMethodSignal raise
       
   395 !
       
   396 
       
   397 _sun_misc_Unsafe_shouldBeInitialized: this _: a1 
       
   398 
       
   399     <javanative: 'sun/misc/Unsafe' name: 'shouldBeInitialized(Ljava/lang/Class;)Z'>
       
   400 
       
   401     ^ JavaVM unimplementedNativeMethodSignal raise
       
   402 !
       
   403 
       
   404 _sun_misc_VM_latestUserDefinedLoader: this 
       
   405 
       
   406     <javanative: 'sun/misc/VM' name: 'latestUserDefinedLoader()Ljava/lang/ClassLoader;'>
       
   407 
       
   408     ^ JavaVM unimplementedNativeMethodSignal raise
       
   409 ! !
       
   410 
       
   411 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - sun.net'!
       
   412 
       
   413 _sun_net_PortConfig_getLower0: this 
       
   414 
       
   415     <javanative: 'sun/net/PortConfig' name: 'getLower0()I'>
       
   416 
       
   417     ^ -1 "/ meaning: use default 
       
   418 !
       
   419 
       
   420 _sun_net_PortConfig_getUpper0: this 
       
   421 
       
   422     <javanative: 'sun/net/PortConfig' name: 'getUpper0()I'>
       
   423 
       
   424     ^ -1 "/ meaning: use default 
       
   425 ! !
       
   426 
       
   427 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - sun.nio.fs'!
       
   428 
       
   429 _sun_nio_fs_UnixNativeDispatcher_access0: this _: a1 _: a2 _: a3 
       
   430 
       
   431     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'access0(JI)V'>
       
   432 
       
   433     ^ JavaVM unimplementedNativeMethodSignal raise
       
   434 !
       
   435 
       
   436 _sun_nio_fs_UnixNativeDispatcher_chmod0: this _: a1 _: a2 _: a3 
       
   437 
       
   438     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'chmod0(JI)V'>
       
   439 
       
   440     ^ JavaVM unimplementedNativeMethodSignal raise
       
   441 !
       
   442 
       
   443 _sun_nio_fs_UnixNativeDispatcher_chown0: this _: a1 _: a2 _: a3 _: a4 
       
   444 
       
   445     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'chown0(JII)V'>
       
   446 
       
   447     ^ JavaVM unimplementedNativeMethodSignal raise
       
   448 !
       
   449 
       
   450 _sun_nio_fs_UnixNativeDispatcher_close: this _: a1 
       
   451 
       
   452     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'close(I)V'>
       
   453 
       
   454     ^ JavaVM unimplementedNativeMethodSignal raise
       
   455 !
       
   456 
       
   457 _sun_nio_fs_UnixNativeDispatcher_closedir: this _: a1 _: a2 
       
   458 
       
   459     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'closedir(J)V'>
       
   460 
       
   461     ^ JavaVM unimplementedNativeMethodSignal raise
       
   462 !
       
   463 
       
   464 _sun_nio_fs_UnixNativeDispatcher_dup: this _: a1 
       
   465 
       
   466     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'dup(I)I'>
       
   467 
       
   468     ^ JavaVM unimplementedNativeMethodSignal raise
       
   469 !
       
   470 
       
   471 _sun_nio_fs_UnixNativeDispatcher_fchmod: this _: a1 _: a2 
       
   472 
       
   473     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fchmod(II)V'>
       
   474 
       
   475     ^ JavaVM unimplementedNativeMethodSignal raise
       
   476 !
       
   477 
       
   478 _sun_nio_fs_UnixNativeDispatcher_fchown: this _: a1 _: a2 _: a3 
       
   479 
       
   480     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fchown(III)V'>
       
   481 
       
   482     ^ JavaVM unimplementedNativeMethodSignal raise
       
   483 !
       
   484 
       
   485 _sun_nio_fs_UnixNativeDispatcher_fclose: this _: a1 _: a2 
       
   486 
       
   487     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fclose(J)V'>
       
   488 
       
   489     ^ JavaVM unimplementedNativeMethodSignal raise
       
   490 !
       
   491 
       
   492 _sun_nio_fs_UnixNativeDispatcher_fdopendir: this _: a1 
       
   493 
       
   494     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fdopendir(I)J'>
       
   495 
       
   496     ^ JavaVM unimplementedNativeMethodSignal raise
       
   497 !
       
   498 
       
   499 _sun_nio_fs_UnixNativeDispatcher_fopen0: this _: a1 _: a2 _: a3 _: a4 
       
   500 
       
   501     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fopen0(JJ)J'>
       
   502 
       
   503     ^ JavaVM unimplementedNativeMethodSignal raise
       
   504 !
       
   505 
       
   506 _sun_nio_fs_UnixNativeDispatcher_fpathconf: this _: a1 _: a2 
       
   507 
       
   508     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fpathconf(II)J'>
       
   509 
       
   510     ^ JavaVM unimplementedNativeMethodSignal raise
       
   511 !
       
   512 
       
   513 _sun_nio_fs_UnixNativeDispatcher_fstat: this _: a1 _: a2 
       
   514 
       
   515     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fstat(ILsun/nio/fs/UnixFileAttributes;)V'>
       
   516 
       
   517     ^ JavaVM unimplementedNativeMethodSignal raise
       
   518 !
       
   519 
       
   520 _sun_nio_fs_UnixNativeDispatcher_fstatat0: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   521 
       
   522     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'fstatat0(IJILsun/nio/fs/UnixFileAttributes;)V'>
       
   523 
       
   524     ^ JavaVM unimplementedNativeMethodSignal raise
       
   525 !
       
   526 
       
   527 _sun_nio_fs_UnixNativeDispatcher_futimes: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   528 
       
   529     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'futimes(IJJ)V'>
       
   530 
       
   531     ^ JavaVM unimplementedNativeMethodSignal raise
       
   532 !
       
   533 
       
   534 _sun_nio_fs_UnixNativeDispatcher_getcwd: this 
       
   535 
       
   536     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'getcwd()[B'>
       
   537 
       
   538     ^ JavaVM unimplementedNativeMethodSignal raise
       
   539 !
       
   540 
       
   541 _sun_nio_fs_UnixNativeDispatcher_getgrgid: this _: a1 
       
   542 
       
   543     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'getgrgid(I)[B'>
       
   544 
       
   545     ^ JavaVM unimplementedNativeMethodSignal raise
       
   546 !
       
   547 
       
   548 _sun_nio_fs_UnixNativeDispatcher_getgrnam0: this _: a1 _: a2 
       
   549 
       
   550     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'getgrnam0(J)I'>
       
   551 
       
   552     ^ JavaVM unimplementedNativeMethodSignal raise
       
   553 !
       
   554 
       
   555 _sun_nio_fs_UnixNativeDispatcher_getpwnam0: this _: a1 _: a2 
       
   556 
       
   557     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'getpwnam0(J)I'>
       
   558 
       
   559     ^ JavaVM unimplementedNativeMethodSignal raise
       
   560 !
       
   561 
       
   562 _sun_nio_fs_UnixNativeDispatcher_getpwuid: this _: a1 
       
   563 
       
   564     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'getpwuid(I)[B'>
       
   565 
       
   566     ^ JavaVM unimplementedNativeMethodSignal raise
       
   567 !
       
   568 
       
   569 _sun_nio_fs_UnixNativeDispatcher_init: this 
       
   570 
       
   571     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'init()I'>
       
   572 
       
   573     ^ JavaVM unimplementedNativeMethodSignal raise
       
   574 !
       
   575 
       
   576 _sun_nio_fs_UnixNativeDispatcher_lchown0: this _: a1 _: a2 _: a3 _: a4 
       
   577 
       
   578     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'lchown0(JII)V'>
       
   579 
       
   580     ^ JavaVM unimplementedNativeMethodSignal raise
       
   581 !
       
   582 
       
   583 _sun_nio_fs_UnixNativeDispatcher_link0: this _: a1 _: a2 _: a3 _: a4 
       
   584 
       
   585     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'link0(JJ)V'>
       
   586 
       
   587     ^ JavaVM unimplementedNativeMethodSignal raise
       
   588 !
       
   589 
       
   590 _sun_nio_fs_UnixNativeDispatcher_lstat0: this _: a1 _: a2 _: a3 
       
   591 
       
   592     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'lstat0(JLsun/nio/fs/UnixFileAttributes;)V'>
       
   593 
       
   594     ^ JavaVM unimplementedNativeMethodSignal raise
       
   595 !
       
   596 
       
   597 _sun_nio_fs_UnixNativeDispatcher_mkdir0: this _: a1 _: a2 _: a3 
       
   598 
       
   599     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'mkdir0(JI)V'>
       
   600 
       
   601     ^ JavaVM unimplementedNativeMethodSignal raise
       
   602 !
       
   603 
       
   604 _sun_nio_fs_UnixNativeDispatcher_mknod0: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   605 
       
   606     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'mknod0(JIJ)V'>
       
   607 
       
   608     ^ JavaVM unimplementedNativeMethodSignal raise
       
   609 !
       
   610 
       
   611 _sun_nio_fs_UnixNativeDispatcher_open0: this _: a1 _: a2 _: a3 _: a4 
       
   612 
       
   613     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'open0(JII)I'>
       
   614 
       
   615     ^ JavaVM unimplementedNativeMethodSignal raise
       
   616 !
       
   617 
       
   618 _sun_nio_fs_UnixNativeDispatcher_openat0: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   619 
       
   620     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'openat0(IJII)I'>
       
   621 
       
   622     ^ JavaVM unimplementedNativeMethodSignal raise
       
   623 !
       
   624 
       
   625 _sun_nio_fs_UnixNativeDispatcher_opendir0: this _: a1 _: a2 
       
   626 
       
   627     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'opendir0(J)J'>
       
   628 
       
   629     ^ JavaVM unimplementedNativeMethodSignal raise
       
   630 !
       
   631 
       
   632 _sun_nio_fs_UnixNativeDispatcher_pathconf0: this _: a1 _: a2 _: a3 
       
   633 
       
   634     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'pathconf0(JI)J'>
       
   635 
       
   636     ^ JavaVM unimplementedNativeMethodSignal raise
       
   637 !
       
   638 
       
   639 _sun_nio_fs_UnixNativeDispatcher_read: this _: a1 _: a2 _: a3 _: a4 
       
   640 
       
   641     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'read(IJI)I'>
       
   642 
       
   643     ^ JavaVM unimplementedNativeMethodSignal raise
       
   644 !
       
   645 
       
   646 _sun_nio_fs_UnixNativeDispatcher_readdir: this _: a1 _: a2 
       
   647 
       
   648     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'readdir(J)[B'>
       
   649 
       
   650     ^ JavaVM unimplementedNativeMethodSignal raise
       
   651 !
       
   652 
       
   653 _sun_nio_fs_UnixNativeDispatcher_readlink0: this _: a1 _: a2 
       
   654 
       
   655     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'readlink0(J)[B'>
       
   656 
       
   657     ^ JavaVM unimplementedNativeMethodSignal raise
       
   658 !
       
   659 
       
   660 _sun_nio_fs_UnixNativeDispatcher_realpath0: this _: a1 _: a2 
       
   661 
       
   662     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'realpath0(J)[B'>
       
   663 
       
   664     ^ JavaVM unimplementedNativeMethodSignal raise
       
   665 !
       
   666 
       
   667 _sun_nio_fs_UnixNativeDispatcher_rename0: this _: a1 _: a2 _: a3 _: a4 
       
   668 
       
   669     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'rename0(JJ)V'>
       
   670 
       
   671     ^ JavaVM unimplementedNativeMethodSignal raise
       
   672 !
       
   673 
       
   674 _sun_nio_fs_UnixNativeDispatcher_renameat0: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 
       
   675 
       
   676     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'renameat0(IJIJ)V'>
       
   677 
       
   678     ^ JavaVM unimplementedNativeMethodSignal raise
       
   679 !
       
   680 
       
   681 _sun_nio_fs_UnixNativeDispatcher_rmdir0: this _: a1 _: a2 
       
   682 
       
   683     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'rmdir0(J)V'>
       
   684 
       
   685     ^ JavaVM unimplementedNativeMethodSignal raise
       
   686 !
       
   687 
       
   688 _sun_nio_fs_UnixNativeDispatcher_stat0: this _: a1 _: a2 _: a3 
       
   689 
       
   690     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'stat0(JLsun/nio/fs/UnixFileAttributes;)V'>
       
   691 
       
   692     ^ JavaVM unimplementedNativeMethodSignal raise
       
   693 !
       
   694 
       
   695 _sun_nio_fs_UnixNativeDispatcher_statvfs0: this _: a1 _: a2 _: a3 
       
   696 
       
   697     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'statvfs0(JLsun/nio/fs/UnixFileStoreAttributes;)V'>
       
   698 
       
   699     ^ JavaVM unimplementedNativeMethodSignal raise
       
   700 !
       
   701 
       
   702 _sun_nio_fs_UnixNativeDispatcher_strerror: this _: a1 
       
   703 
       
   704     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'strerror(I)[B'>
       
   705 
       
   706     ^ JavaVM unimplementedNativeMethodSignal raise
       
   707 !
       
   708 
       
   709 _sun_nio_fs_UnixNativeDispatcher_symlink0: this _: a1 _: a2 _: a3 _: a4 
       
   710 
       
   711     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'symlink0(JJ)V'>
       
   712 
       
   713     ^ JavaVM unimplementedNativeMethodSignal raise
       
   714 !
       
   715 
       
   716 _sun_nio_fs_UnixNativeDispatcher_unlink0: this _: a1 _: a2 
       
   717 
       
   718     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'unlink0(J)V'>
       
   719 
       
   720     ^ JavaVM unimplementedNativeMethodSignal raise
       
   721 !
       
   722 
       
   723 _sun_nio_fs_UnixNativeDispatcher_unlinkat0: this _: a1 _: a2 _: a3 _: a4 
       
   724 
       
   725     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'unlinkat0(IJI)V'>
       
   726 
       
   727     ^ JavaVM unimplementedNativeMethodSignal raise
       
   728 !
       
   729 
       
   730 _sun_nio_fs_UnixNativeDispatcher_utimes0: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 
       
   731 
       
   732     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'utimes0(JJJ)V'>
       
   733 
       
   734     ^ JavaVM unimplementedNativeMethodSignal raise
       
   735 !
       
   736 
       
   737 _sun_nio_fs_UnixNativeDispatcher_write: this _: a1 _: a2 _: a3 _: a4 
       
   738 
       
   739     <javanative: 'sun/nio/fs/UnixNativeDispatcher' name: 'write(IJI)I'>
       
   740 
       
   741     ^ JavaVM unimplementedNativeMethodSignal raise
       
   742 ! !
       
   743 
       
   744 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'native - sun.security.pkcs11'!
       
   745 
       
   746 _sun_security_pkcs11_Secmod_nssGetModuleList: this _: a1 _: a2 _: a3 
       
   747 
       
   748     <javanative: 'sun/security/pkcs11/Secmod' name: 'nssGetModuleList(JLjava/lang/String;)Ljava/lang/Object;'>
       
   749 
       
   750     ^ JavaVM unimplementedNativeMethodSignal raise
       
   751 !
       
   752 
       
   753 _sun_security_pkcs11_Secmod_nssInitialize: this _: a1 _: a2 _: a3 _: a4 _: a5 
       
   754 
       
   755     <javanative: 'sun/security/pkcs11/Secmod' name: 'nssInitialize(Ljava/lang/String;JLjava/lang/String;Z)Z'>
       
   756 
       
   757     ^ JavaVM unimplementedNativeMethodSignal raise
   534 ! !
   758 ! !
   535 
   759 
   536 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'documentation'!
   760 !JavaNativeMethodImpl_OpenJDK7 class methodsFor:'documentation'!
   537 
   761 
   538 version_CVS
   762 version_CVS
   539     ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK7.st,v 1.3 2013-09-06 00:41:25 vrany Exp $'
   763     ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_OpenJDK7.st,v 1.4 2015-01-28 02:10:50 vrany Exp $'
   540 !
   764 !
   541 
   765 
   542 version_HG
   766 version_HG
   543 
   767 
   544     ^ '$Changeset: <not expanded> $'
   768     ^ '$Changeset: <not expanded> $'