JavaNativeMethodImpl_SunJDK6.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 10 Sep 2013 02:41:25 +0200
changeset 2691 e22c08439405
parent 2678 c865275e48a7
child 2731 13f5be2bf83b
permissions -rw-r--r--
class: JavaSourceHighlighter changed: #format:kind:in:

"
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
                            SWING Research Group, Czech Technical University in Prague

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libjava' }"

JavaNativeMethodImpl_OpenJDK6 subclass:#JavaNativeMethodImpl_SunJDK6
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-Java-Support-OpenJDK6'
!

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
                            SWING Research Group, Czech Technical University in Prague

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'native - java.io'!

_java_io_Win32FileSystem_canonicalize0: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'canonicalize0(Ljava/lang/String;)Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_canonicalizeWithPrefix0: this _: a1 _: a2 

    <javanative: 'java/io/Win32FileSystem' name: 'canonicalizeWithPrefix0(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_checkAccess: this _: a1 _: a2 

    <javanative: 'java/io/Win32FileSystem' name: 'checkAccess(Ljava/io/File;I)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_createDirectory: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'createDirectory(Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_createFileExclusively: this _: a1 _: a2 

    <javanative: 'java/io/Win32FileSystem' name: 'createFileExclusively(Ljava/lang/String;Z)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_delete0: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'delete0(Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_getBooleanAttributes: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'getBooleanAttributes(Ljava/io/File;)I'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_getDriveDirectory: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'getDriveDirectory(I)Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_getLastModifiedTime: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'getLastModifiedTime(Ljava/io/File;)J'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_getLength: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'getLength(Ljava/io/File;)J'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_getSpace0: this _: a1 _: a2 

    <javanative: 'java/io/Win32FileSystem' name: 'getSpace0(Ljava/io/File;I)J'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_list: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'list(Ljava/io/File;)[Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_listRoots0: this 

    <javanative: 'java/io/Win32FileSystem' name: 'listRoots0()I'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_rename0: this _: a1 _: a2 

    <javanative: 'java/io/Win32FileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_setLastModifiedTime: this _: a1 _: a2 _: a3 

    <javanative: 'java/io/Win32FileSystem' name: 'setLastModifiedTime(Ljava/io/File;J)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_setPermission: this _: a1 _: a2 _: a3 _: a4 

    <javanative: 'java/io/Win32FileSystem' name: 'setPermission(Ljava/io/File;IZZ)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_Win32FileSystem_setReadOnly: this _: a1 

    <javanative: 'java/io/Win32FileSystem' name: 'setReadOnly(Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_createFileExclusively: this _: a1 _: a2 

    <javanative: 'java/io/WinNTFileSystem' name: 'createFileExclusively(Ljava/lang/String;Z)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_getDriveDirectory: this _: a1 

    <javanative: 'java/io/WinNTFileSystem' name: 'getDriveDirectory(I)Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_getSpace0: this _: a1 _: a2 

    <javanative: 'java/io/WinNTFileSystem' name: 'getSpace0(Ljava/io/File;I)J'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_initIDs: this 

    <javanative: 'java/io/WinNTFileSystem' name: 'initIDs()V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_rename0: this _: a1 _: a2 

    <javanative: 'java/io/WinNTFileSystem' name: 'rename0(Ljava/io/File;Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_setLastModifiedTime: this _: a1 _: a2 _: a3 

    <javanative: 'java/io/WinNTFileSystem' name: 'setLastModifiedTime(Ljava/io/File;J)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_setPermission: this _: a1 _: a2 _: a3 _: a4 

    <javanative: 'java/io/WinNTFileSystem' name: 'setPermission(Ljava/io/File;IZZ)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_io_WinNTFileSystem_setReadOnly: this _: a1 

    <javanative: 'java/io/WinNTFileSystem' name: 'setReadOnly(Ljava/io/File;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'native - java.lang'!

_java_lang_ClassLoader_defineClass0: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 

    <javanative: 'java/lang/ClassLoader' name: 'defineClass0(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Z)Ljava/lang/Class;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_java_lang_ClassLoader_defineClass1: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: verify 

    <javanative: 'java/lang/ClassLoader' name: 'defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;Z)Ljava/lang/Class;'>

    "No verification (yet), so use OpenJDK6 implementation"
    ^ self _java_lang_ClassLoader_defineClass1: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6

    "Modified: / 06-02-2013 / 13:27:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

_java_lang_ClassLoader_defineClass2: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 

    <javanative: 'java/lang/ClassLoader' name: 'defineClass2(Ljava/lang/String;Ljava/nio/ByteBuffer;IILjava/security/ProtectionDomain;Ljava/lang/String;Z)Ljava/lang/Class;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'native - java.util.zip'!

_java_util_zip_ZipFile_open: this _: a1 _: a2 _: a3 _: a4 _: usemmap 

    <javanative: 'java/util/zip/ZipFile' name: 'open(Ljava/lang/String;IJZ)J'>

    "No mmap support for zip files yet, use Open JDK 6 implementation"

    ^self _java_util_zip_ZipFile_open: this _: a1 _: a2 _: a3 _: a4

    "Modified: / 06-02-2013 / 13:24:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'native - sun.jkernel'!

_sun_jkernel_DownloadManager_addToTotalDownloadSize: this _: a1 

    <javanative: 'sun/jkernel/DownloadManager' name: 'addToTotalDownloadSize(I)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_askUserToRetryDownloadOrQuit: this _: a1 

    <javanative: 'sun/jkernel/DownloadManager' name: 'askUserToRetryDownloadOrQuit(I)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_bundleInstallComplete: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'bundleInstallComplete()V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_bundleInstallStart: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'bundleInstallStart()V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_displayError: this _: a1 _: a2 

    <javanative: 'sun/jkernel/DownloadManager' name: 'displayError(ILjava/lang/String;)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_downloadFromURLImpl: this _: a1 _: a2 _: a3 _: a4 

    <javanative: 'sun/jkernel/DownloadManager' name: 'downloadFromURLImpl(Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Z)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_getCurrentProcessId: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'getCurrentProcessId()I'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_getDebugKey: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'getDebugKey()Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_getUrlFromRegistry: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'getUrlFromRegistry()Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_getVisitorId0: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'getVisitorId0()Ljava/lang/String;'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_isIEProtectedMode: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'isIEProtectedMode()Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_isJBrokerRunning: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'isJBrokerRunning()Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_isWindowsVista: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'isWindowsVista()Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_launchJBroker: this _: a1 

    <javanative: 'sun/jkernel/DownloadManager' name: 'launchJBroker(Ljava/lang/String;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_moveDirWithBrokerImpl: this _: a1 _: a2 

    <javanative: 'sun/jkernel/DownloadManager' name: 'moveDirWithBrokerImpl(Ljava/lang/String;Ljava/lang/String;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_moveFileWithBrokerImpl: this _: a1 _: a2 

    <javanative: 'sun/jkernel/DownloadManager' name: 'moveFileWithBrokerImpl(Ljava/lang/String;Ljava/lang/String;)Z'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_postDownloadComplete: this 

    <javanative: 'sun/jkernel/DownloadManager' name: 'postDownloadComplete()V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_postDownloadError: this _: a1 

    <javanative: 'sun/jkernel/DownloadManager' name: 'postDownloadError(I)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
!

_sun_jkernel_DownloadManager_startBackgroundDownloadWithBrokerImpl: this _: a1 

    <javanative: 'sun/jkernel/DownloadManager' name: 'startBackgroundDownloadWithBrokerImpl(Ljava/lang/String;)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'native - sun.misc'!

_sun_misc_Unsafe_copyMemory: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8 

    <javanative: 'sun/misc/Unsafe' name: 'copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'>

    ^ JavaVM unimplementedNativeMethodSignal raise
! !

!JavaNativeMethodImpl_SunJDK6 class methodsFor:'documentation'!

version_CVS
    ^ '$Header: /cvs/stx/stx/libjava/JavaNativeMethodImpl_SunJDK6.st,v 1.3 2013-09-06 00:41:25 vrany Exp $'
!

version_HG

    ^ '$Changeset: <not expanded> $'
! !