7030249: Eliminate use of LoadLibrary and other clean-ups

Chris Hegarty chris.hegarty at oracle.com
Mon Mar 28 16:17:35 UTC 2011

The changes look good to me. Much cleaner.


On 03/28/11 04:58 PM, Alan Bateman wrote:
> There are several places in the Windows native code where win32
> functions are looked up with GetProcAddress after loading the DLL. Many
> of these places date back to when the JDK was built on Windows NT. Chris
> removed several of them from the network code in a recent change-set
> where he was cleaning up some code in that area. While editing
> java_props_md.c I also changed the code that uses GetUserName to get the
> value for the user.name property it's not set by an environment
> variable. This was something Dmytro Sheyko pointed out on this list a
> few weeks ago [1]. The webrev with the changes is here:
> http://cr.openjdk.java.net/~alanb/7030249/webrev/
> Vinnie - I updated the MS CAPI provider while I was at it, do you mind
> reviewing that? I've run the tests in test/sun/security/mscapi to verify.
> -Alan.
> [1]
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2011-February/005837.html

More information about the core-libs-dev mailing list