7030249: Eliminate use of LoadLibrary and other clean-ups

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 28 15:58:57 UTC 2011

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:

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.



More information about the core-libs-dev mailing list