JavaNativeMethodImpl_OpenJDK6.st
branchdevelopment
changeset 2455 35467660980d
parent 2429 ebece4dcaab9
child 2469 3a868c0d3b3b
--- a/JavaNativeMethodImpl_OpenJDK6.st	Sat Mar 09 17:23:52 2013 +0000
+++ b/JavaNativeMethodImpl_OpenJDK6.st	Sat Mar 09 18:01:30 2013 +0000
@@ -11,7 +11,7 @@
 "
 "{ Package: 'stx:libjava' }"
 
-Object subclass:#'JavaNativeMethodImpl_OpenJDK6'
+Object subclass:#JavaNativeMethodImpl_OpenJDK6
 	instanceVariableNames:''
 	classVariableNames:''
 	poolDictionaries:'JavaVMData'
@@ -52,7 +52,6 @@
 "
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'helpers'!
 
 nativeContext
@@ -76,7 +75,6 @@
     "Modified: / 31-01-2013 / 12:59:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'helpers - awt - UNPORTED'!
 
 commonReshapeComponent: nativeContext
@@ -340,7 +338,6 @@
     "Modified: / 19.11.1998 / 01:43:20 / cg"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'helpers - io'!
 
 addOpenFile:aStream
@@ -826,7 +823,6 @@
     "Modified: / 28-07-2012 / 02:42:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'helpers - reflection'!
 
 invoke: jmethod receiver: obj arguments: args context: context "of the native method" constructor: isConstructor
@@ -931,7 +927,6 @@
     "Modified: / 30-01-2013 / 14:00:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'helpers - zip'!
 
 getZipArchiveAt:index
@@ -955,7 +950,6 @@
     "Created: / 11-02-2013 / 12:32:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - UNPORTED'!
 
 _AccessController_beginPrivileged: nativeContext
@@ -6708,7 +6702,6 @@
     ^ self _WGraphics_pSetForeground: nativeContext
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.demo.jvmti.hprof'!
 
 _com_sun_demo_jvmti_hprof_Tracker_nativeCallSite: this _: a1 _: a2 _: a3 
@@ -6739,7 +6732,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.imageio.plugins.jpeg'!
 
 _com_sun_imageio_plugins_jpeg_JPEGImageReader_abortRead: this _: a1 _: a2 
@@ -6868,7 +6860,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.java.swing.plaf.gtk'!
 
 _com_sun_java_swing_plaf_gtk_GTKEngine_nativeFinishPainting: this _: a1 _: a2 _: a3 
@@ -7046,7 +7037,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.java.util.jar.pack'!
 
 _com_sun_java_util_jar_pack_NativeUnpack_finish: this 
@@ -7098,7 +7088,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.management'!
 
 _com_sun_management_UnixOperatingSystem_getCommittedVirtualMemorySize: this 
@@ -7167,7 +7156,6 @@
     "Modified: / 03-11-2011 / 18:59:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.media.sound'!
 
 _com_sun_media_sound_DirectAudioDeviceProvider_nGetNumDevices: this 
@@ -7548,7 +7536,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - com.sun.security.auth.module'!
 
 _com_sun_security_auth_module_UnixSystem_getUnixInfo: this 
@@ -7558,7 +7545,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.awt'!
 
 _java_awt_AWTEvent_initIDs: this 
@@ -7862,7 +7848,6 @@
     "Modified: / 09-02-2012 / 22:53:47 / mh <hlopik@gmail.com>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.awt.event'!
 
 _java_awt_event_InputEvent_initIDs: this 
@@ -7886,7 +7871,6 @@
     "Modified: / 09-02-2012 / 22:53:40 / mh <hlopik@gmail.com>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.awt.image'!
 
 _java_awt_image_BufferedImage_initIDs: this 
@@ -7945,7 +7929,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.io'!
 
 _java_io_Console_echo: this 
@@ -9077,7 +9060,6 @@
     "Modified: / 30-01-2013 / 14:17:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.lang'!
 
 _java_lang_ClassLoader_NativeLibrary_find: this 
@@ -11387,7 +11369,6 @@
 
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.lang.ref'!
 
 _java_lang_ref_Finalizer_invokeFinalizeMethod: this _:a1 
@@ -11404,7 +11385,6 @@
     "Modified: / 24-07-2012 / 11:11:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.lang.reflect'!
 
 _java_lang_reflect_Array_get: this _: a1 
@@ -11803,7 +11783,6 @@
     "Created: / 06-02-2011 / 16:55:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.net'!
 
 _java_net_DatagramPacket_init: this 
@@ -12820,7 +12799,6 @@
     "Modified: / 13-11-2011 / 23:53:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.nio'!
 
 _java_nio_Bits_copyFromByteArray: this _:a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 
@@ -12966,7 +12944,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.security'!
 
 _java_security_AccessController_doPrivileged: this _:a1 
@@ -13022,7 +12999,6 @@
     "Modified: / 09-10-2011 / 23:40:46 / Marcel Hlopko <hlopik@gmail.com>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.sql'!
 
 _java_sql_DriverManager_getCallerClassLoader: this 
@@ -13037,7 +13013,6 @@
     "Modified: / 30-01-2013 / 14:16:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.text'!
 
 _java_text_Bidi_nativeBidiChars: this _:a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 
@@ -13054,7 +13029,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util'!
 
 _java_util_ResourceBundle_getClassContext: this 
@@ -13067,12 +13041,8 @@
     |chain con cls jClass|
 
     chain := OrderedCollection new.
-    con := thisContext sender.
-    [
-        con notNil
-            and:[con receiver isMethod not or:[con receiver isJavaMethod not]]
-    ] whileTrue:[con := con sender.].
-    con := con sender sender sender.
+    con := thisContext sender"trampoline" sender"sender of getClassContext".
+
     [con notNil] whileTrue:[
         (true) "con isJavaContext" ifTrue:[
             cls := con receiver class.
@@ -13092,7 +13062,7 @@
     "Created: / 05-01-1998 / 02:47:00 / cg"
     "Modified: / 24-12-1998 / 00:34:57 / cg"
     "Modified: / 28-01-2011 / 15:31:28 / Marcel Hlopko <hlopik@gmail.com>"
-    "Modified: / 09-01-2013 / 18:11:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 09-03-2013 / 17:37:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 _java_util_TimeZone_getSystemGMTOffsetID: this 
@@ -13115,7 +13085,6 @@
     "Modified: / 25-06-2011 / 08:26:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util.concurrent.atomic'!
 
 _java_util_concurrent_atomic_AtomicLong_VMSupportsCS8: this 
@@ -13129,7 +13098,6 @@
     "Modified: / 07-08-2011 / 20:53:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util.jar'!
 
 _java_util_jar_JarFile_getMetaInfEntryNames: this 
@@ -13151,7 +13119,6 @@
     "Modified: / 10-12-2012 / 05:42:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util.logging'!
 
 _java_util_logging_FileHandler_isSetUID: this 
@@ -13161,7 +13128,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util.prefs'!
 
 _java_util_prefs_FileSystemPreferences_chmod: this _: a1 _: a2 
@@ -13185,7 +13151,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - java.util.zip'!
 
 _java_util_zip_Adler32_update: this _: a1 _: a2 
@@ -13717,7 +13682,6 @@
     "Modified: / 01-05-2011 / 16:22:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - stx.libjava'!
 
 _stx_libjava_ClassLoader_findClassS: this _:a1 
@@ -13743,7 +13707,6 @@
     "Modified: / 19-01-2013 / 18:00:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - stx.libjava.groovy'!
 
 _stx_libjava_groovy_GroovyClassLoader_SystemClassCollector_getDefiningClassLoader: this 
@@ -13755,7 +13718,6 @@
     "Modified: / 20-02-2012 / 22:30:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - stx.libjava.tests'!
 
 _stx_libjava_tests_MonitorTests_abort: this 
@@ -13767,7 +13729,6 @@
     "Modified: / 04-11-2011 / 21:50:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - stx.libjava.tests.lang'!
 
 _stx_libjava_tests_lang_MonitorTests_abort: this 
@@ -13777,7 +13738,6 @@
     "Modified: / 10-09-2012 / 22:56:16 / m"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - stx.libjava.tests.vm'!
 
 _stx_libjava_tests_vm_XLOAD_forcePatchupAndUnfix: this 
@@ -13802,7 +13762,6 @@
     "Modified: / 04-11-2011 / 21:50:31 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.awt'!
 
 _sun_awt_DebugSettings_setCTracingOn: this _: a1 
@@ -14218,7 +14177,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.awt.X11'!
 
 _sun_awt_X11_XDesktopPeer_gnome_url_show: this _: a1 
@@ -15390,7 +15348,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.awt.image'!
 
 _sun_awt_image_BufImgSurfaceData_freeNativeICMData: this _: a1 _: a2 
@@ -15554,7 +15511,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.awt.motif'!
 
 _sun_awt_motif_AWTLockAccess_awtLock: this 
@@ -15795,7 +15751,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.font'!
 
 _sun_font_FontManager_getFont2D: this _: a1 
@@ -16142,7 +16097,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.instrument'!
 
 _sun_instrument_InstrumentationImpl_appendToClassLoaderSearch0: this _: a1 _: a2 _: a3 _: a4 
@@ -16215,7 +16169,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.io'!
 
 _sun_io_Win32ErrorMode_setErrorMode: this _:a1 _: a2 
@@ -16228,7 +16181,6 @@
     "Modified (format): / 14-08-2012 / 11:35:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d'!
 
 _sun_java2d_DefaultDisposerRecord_invokeNativeDispose: this _: a1 _: a2 _: a3 _: a4 
@@ -16259,7 +16211,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.cmm.lcms'!
 
 _sun_java2d_cmm_lcms_LCMS_colorConvert: this _: a1 _: a2 _: a3 
@@ -16383,7 +16334,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.jules'!
 
 _sun_java2d_jules_JulesAATileGenerator_freePixmanImgPtr: this _: a1 _: a2 
@@ -16414,7 +16364,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.loops'!
 
 _sun_java2d_loops_BlitBg_BlitBg: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8 _: a9 _: a10 _: a11 
@@ -16571,7 +16520,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.opengl'!
 
 _sun_java2d_opengl_GLXGraphicsConfig_getGLXConfigInfo: this _: a1 _: a2 
@@ -16679,7 +16627,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.pipe'!
 
 _sun_java2d_pipe_BufferedMaskBlit_enqueueTile: this _: a1 
@@ -16864,7 +16811,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.x11'!
 
 _sun_java2d_x11_X11PMBlitBgLoops_nativeBlitBg: this _: a1 _: a2 _: a3 _: a4 _: a5 _: a6 _: a7 _: a8 _: a9 _: a10 _: a11 _: a12 _: a13 
@@ -17091,7 +17037,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.java2d.xr'!
 
 _sun_java2d_xr_XIDGenerator_bufferXIDs: this _: a1 _: a2 
@@ -17325,7 +17270,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.management'!
 
 _sun_management_ClassLoadingImpl_setVerboseClass: this _: a1 
@@ -17842,7 +17786,6 @@
     "Modified: / 03-11-2011 / 22:45:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.misc'!
 
 _sun_misc_GC_maxObjectInspectionAge: this 
@@ -19367,7 +19310,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.net.dns'!
 
 _sun_net_dns_ResolverConfigurationImpl_fallbackDomain0: this 
@@ -19384,7 +19326,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.net.spi'!
 
 _sun_net_spi_DefaultProxySelector_getSystemProxy: this _: a1 _: a2 
@@ -19401,7 +19342,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.nio.ch'!
 
 _sun_nio_ch_DatagramChannelImpl_disconnect0: this _: a1 
@@ -20020,7 +19960,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.print'!
 
 _sun_print_CUPSPrinter_canConnect: this _: a1 _: a2 
@@ -20065,7 +20004,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.reflect'!
 
 _sun_reflect_ConstantPool_getClassAt0: this _: a1 
@@ -20375,7 +20313,6 @@
     "Modified: / 01-09-2011 / 09:46:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.rmi.server'!
 
 _sun_rmi_server_MarshalInputStream_latestUserDefinedLoader: this 
@@ -20385,7 +20322,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.security.jgss.wrapper'!
 
 _sun_security_jgss_wrapper_GSSLibStub_acceptContext: this _: a1 _: a2 _: a3 _: a4 _: a5 
@@ -20591,7 +20527,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.security.krb5'!
 
 _sun_security_krb5_Config_getWindowsDirectory: this 
@@ -20608,7 +20543,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.security.provider'!
 
 _sun_security_provider_NativeSeedGenerator_nativeGenerateSeed: this _:a1 
@@ -20618,7 +20552,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'native - sun.security.smartcardio'!
 
 _sun_security_smartcardio_PCSC_SCardBeginTransaction: this _: a1 _: a2 
@@ -20698,7 +20631,6 @@
     ^ JavaVM unimplementedNativeMethodSignal raise
 ! !
 
-
 !JavaNativeMethodImpl_OpenJDK6 class methodsFor:'documentation'!
 
 version_CVS