summaryrefslogtreecommitdiffstats
path: root/make/jawt-win32.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-02-03 06:57:11 +0000
committerKenneth Russel <[email protected]>2008-02-03 06:57:11 +0000
commit9723c1fc5710051fd52f29c8b960379cc02ae991 (patch)
tree820613c6f712ce3d99306cde6bcc1737bd47f1b4 /make/jawt-win32.cfg
parent77a06914560fbdd09e7adb19d30be4cf359269a7 (diff)
Fixed Issue 341: JNI Global Reference in native code prevents clean applet termination
Simplified the native code in JAWT_DrawingSurfaceInfo.c to only fabricate the direct ByteBuffer wrapping the JAWT "platformInfo" struct, moving the construction of the wrapping JAWT_PlatformInfo up to Java. Verified fix with reloading of JOGL applets via the new JNLP applet launching support in the new Java Plug-In. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1512 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/jawt-win32.cfg')
-rw-r--r--make/jawt-win32.cfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/make/jawt-win32.cfg b/make/jawt-win32.cfg
index 7f9d74e7b..15a642f10 100644
--- a/make/jawt-win32.cfg
+++ b/make/jawt-win32.cfg
@@ -30,7 +30,4 @@ StructPackage JAWT_Win32DrawingSurfaceInfo com.sun.opengl.impl.windows
EmitStruct JAWT_Win32DrawingSurfaceInfo
Implements JAWT_Win32DrawingSurfaceInfo JAWT_PlatformInfo
-CustomJavaCode JAWT_DrawingSurfaceInfo public JAWT_PlatformInfo platformInfo() {
-CustomJavaCode JAWT_DrawingSurfaceInfo return platformInfo0(getBuffer());
-CustomJavaCode JAWT_DrawingSurfaceInfo }
-CustomJavaCode JAWT_DrawingSurfaceInfo private native JAWT_PlatformInfo platformInfo0(Buffer jthis0);
+IncludeAs CustomJavaCode JAWT_DrawingSurfaceInfo jawt-DrawingSurfaceInfo-CustomJavaCode.java