Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4916831

cannot load deploy.dll when NIS is running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • deploy
    • None
    • tiger
    • generic, x86
    • generic, windows_xp

      When the file src/common/windows/classes/com/sun/deploy/config/WinConfig.java

      loads deploy.dll it will hang if Norton Internet Security is running. So basically javaws.exe and the java controlpanel will not launch if NIS is running unless this is fixed.

      Here is a warning from MSDN
      On attach, the body of your DLL entry-point function should perform only simple initialization tasks, such as setting up thread local storage (TLS), creating objects, and opening files. You must not call LoadLibrary in the entry-point function, because you may create dependency loops in the DLL load order. This can result in a DLL being used before the system has executed its initialization code. Similarly, you must not call the FreeLibrary function in the entry-point function on detach, because this can result in a DLL being used after the system has executed its termination code.

      We should not call CoCreateInstance during the loading of the dll.
      ###@###.### 2003-09-03

            billyh William Harnois
            billyh William Harnois
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: