Ignore:
Timestamp:
Mar 9, 2011, 9:38:55 PM (14 years ago)
Author:
dmik
Message:

jdk: Provide common DllMain() code that calls static destructors when the DLL is detached from the process at termination and use it in JAWTOS2.DLL and JSOUND*.DLL. This fixes crashes in WGSS50.DLL and KERNEL32.DLL during Java process termination when running some applications (e.g. any application using sound, see #78 for details).

Location:
trunk/openjdk/jdk/make/javax/sound
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/javax/sound/FILES_c.gmk

    r255 r274  
    3333        PLATFORM_API_SolarisOS_PCM.c
    3434
    35 FILES_linux = 
     35FILES_linux =
    3636
    3737FILES_windows = \
     
    4646        PLATFORM_API_WinOS_Util.c \
    4747        PLATFORM_API_WinOS_Ports.c
    48        
     48
     49ifeq ($(PLATFORM), os2)
     50FILES_cpp += \
     51        jdk_DllMain.cpp
     52endif
     53
    4954FILES_export = \
    5055        com/sun/media/sound/Platform.java
  • trunk/openjdk/jdk/make/javax/sound/jsoundds/Makefile

    r255 r274  
    4747        PLATFORM_API_WinOS_DirectSound.cpp
    4848
     49ifeq ($(PLATFORM), os2)
     50FILES_cpp += \
     51        jdk_DllMain.cpp
     52endif
     53
    4954FILES_export = \
    5055        $(DAUDIOFILES_export)
Note: See TracChangeset for help on using the changeset viewer.