Code Review 7103549: Remove dependencies on libjava and libjvm from security libraries
David Holmes
david.holmes at oracle.com
Sun Oct 23 22:43:17 UTC 2011
Hi Chris,
On 22/10/2011 1:43 AM, Chris Hegarty wrote:
> All of the security native libraries have runtime dependencies on
> libjava and libjvm, most of which are completely unnecessary. This CR
> proposes to remove these dependencies and provide localized versions of
> the trivial utility functions that are being used from libjava, i.e. the
> JNU_ThrowXXX functions.
>
> There is also a dependency on JNI_GetCreatedJavaVMs which can easily be
> removed by caching a reference to the JavaVM when the library is loaded,
> in JNI_OnLoad, and making this reference available within the library
> itself.
>
> http://cr.openjdk.java.net/~chegar/7103549/webrev.oo/webrev/
In make/sun/security/krb5/Makefile you dropped -ldl - was that intentional?
Otherwise looks ok to me.
David
> -Chris.
More information about the security-dev
mailing list